forked from Kovah/LinkAce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.production.yml
More file actions
39 lines (36 loc) · 1.01 KB
/
docker-compose.production.yml
File metadata and controls
39 lines (36 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
services:
# --- LinkAce
app:
image: docker.io/linkace/linkace:latest
restart: unless-stopped
depends_on:
- db
ports:
- "0.0.0.0:80:80"
# Remove the hash of the following line if you want to use HTTPS for this container
#- "0.0.0.0:443:443"
volumes:
- ./.env:/app/.env
#- ./backups:/app/storage/app/backups
# Remove the hash of the following lines if you want to use HTTPS for this container
#- ./caddy-data:/home/www-data/.local/share/caddy
#- ./ssl.Caddyfile:/etc/caddy/Caddyfile
# --- Database
db:
image: docker.io/library/mariadb:12.0
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_USER=${DB_USERNAME}
- MYSQL_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=${DB_DATABASE}
volumes:
- db:/var/lib/mysql
# --- Cache
redis:
image: docker.io/library/redis:8.2
command: "redis-server --requirepass ${REDIS_PASSWORD}"
restart: unless-stopped
volumes:
db: