1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-02-24 03:03:55 +01:00
LinkAce/docker-compose.production-simple.yml

39 lines
960 B
YAML
Raw Normal View History

version: "3"
services:
# --- MariaDB
db:
image: mariadb:10.7
restart: unless-stopped
command: mysqld --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
# --- LinkAce Image with PHP and nginx
app:
2021-03-25 20:50:36 +01:00
image: linkace/linkace:simple
restart: unless-stopped
depends_on:
- db
ports:
- "0.0.0.0:80:80"
#- "0.0.0.0:443:443"
volumes:
- ./.env:/app/.env
2022-09-04 11:25:17 +02:00
- ./backups:/app/storage/app/backups
2022-09-06 09:27:15 +02:00
- linkace_logs:/app/storage/logs
# Remove the hash of the following line if you want to use HTTPS for this container
#- ./nginx-ssl.conf:/etc/nginx/conf.d/default.conf:ro
#- /path/to/your/ssl/certificates:/certs:ro
volumes:
linkace_logs:
db:
driver: local