1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-01-17 13:18:21 +01:00
LinkAce/docker-compose.production.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

---
services:
# --- LinkAce
app:
2024-05-19 23:48:29 +02:00
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
2022-09-06 09:27:15 +02:00
- ./backups:/app/storage/app/backups
# Remove the hash of the following line if you want to use HTTPS for this container
#- ./Caddyfile:/etc/caddy/Caddyfile:ro
#- ./caddy-data:/data/caddy
# --- Database
db:
image: docker.io/library/mariadb:11.5
restart: unless-stopped
command: mariadbd --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
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/bitnami/redis:7.4
restart: unless-stopped
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
volumes:
db: