2021-12-07 13:50:05 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
2024-01-03 08:36:17 +00:00
|
|
|
darkflamedb:
|
|
|
|
image: mariadb:latest
|
2021-12-07 13:50:05 +00:00
|
|
|
environment:
|
|
|
|
- MARIADB_USER=${MARIADB_USER:-darkflame}
|
|
|
|
- MARIADB_PASSWORD=${MARIADB_PASSWORD:-darkflame}
|
|
|
|
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD:-darkflame}
|
|
|
|
- MARIADB_DATABASE=${MARIADB_DATABASE:-darkflame}
|
|
|
|
networks:
|
|
|
|
- darkflame
|
|
|
|
|
2024-01-03 08:36:17 +00:00
|
|
|
darkfameserver:
|
2021-12-07 13:50:05 +00:00
|
|
|
networks:
|
|
|
|
- darkflame
|
2024-01-03 08:36:17 +00:00
|
|
|
image: ghcr.io/darkflameuniverse/darkflameserver:latest
|
2021-12-07 13:50:05 +00:00
|
|
|
volumes:
|
2024-01-03 08:36:17 +00:00
|
|
|
- $HOST_CONFIG_DIR:/app/configs/
|
|
|
|
- $HOST_CLIENT_LOCATION:$CLIENT_LOCATION:ro
|
|
|
|
- $HOST_RESSERVER_LOCATION:/app/resServer/
|
|
|
|
- $HOST_DUMP_FOLDER:$DUMP_FOLDER
|
|
|
|
- $HOST_LOGS_DIR:/app/logs/
|
|
|
|
environment:
|
|
|
|
- DLU_CONFIG_DIR=/app/configs
|
|
|
|
- MYSQL_HOST=darkflamedb
|
|
|
|
- MYSQL_DATABASE=${MARIADB_DATABASE:-darkflame}
|
|
|
|
- MYSQL_USERNAME=${MARIADB_USER:-darkflame}
|
|
|
|
- MYSQL_PASSWORD=${MARIADB_PASSWORD:-darkflame}
|
|
|
|
- EXTERNAL_IP=${EXTERNAL_IP:-localhost}
|
|
|
|
- DUMP_FOLDER=$DUMP_FOLDER
|
|
|
|
- CLIENT_LOCATION=$CLIENT_LOCATION
|
2021-12-07 21:25:58 +00:00
|
|
|
depends_on:
|
2024-01-03 08:36:17 +00:00
|
|
|
- darkflamedb
|
2021-12-07 22:17:26 +00:00
|
|
|
ports:
|
|
|
|
- "1001:1001/udp"
|
|
|
|
- "2005:2005/udp"
|
|
|
|
- "3000-3300:3000-3300/udp"
|
2021-12-07 13:50:05 +00:00
|
|
|
|
2024-01-03 08:36:17 +00:00
|
|
|
darkflameweb:
|
2021-12-07 20:25:15 +00:00
|
|
|
networks:
|
|
|
|
- darkflame
|
2024-01-03 08:36:17 +00:00
|
|
|
image: ghcr.io/darkflameuniverse/nexusdashboard:latest
|
|
|
|
volumes:
|
|
|
|
- $HOST_CLIENT_LOCATION:/app/luclient:ro
|
|
|
|
- $HOST_CACHE_LOCATION:/app/cache
|
|
|
|
- $HOST_CD_SQLITE_LOCATION:/app/cdclient:ro
|
2021-12-07 20:30:08 +00:00
|
|
|
environment:
|
2024-01-03 08:36:17 +00:00
|
|
|
- APP_SECRET_KEY=$APP_SECRET_KEY
|
|
|
|
- APP_DATABASE_URI=mysql+pymysql://${MARIADB_USER:-darkflame}:${MARIADB_PASSWORD:-darkflame}@darkflamedb:3306/${MARIADB_DATABASE:-darkflame}
|
|
|
|
- CLIENT_LOCATION=/app/luclient
|
|
|
|
- CACHE_LOCATION=/app/cache
|
|
|
|
- CD_SQLITE_LOCATION=/app/cdclient
|
|
|
|
depends_on:
|
|
|
|
- darkflamedb
|
2021-12-07 20:30:08 +00:00
|
|
|
ports:
|
2024-01-03 08:36:17 +00:00
|
|
|
- 8000:8000
|
2021-12-07 21:17:18 +00:00
|
|
|
healthcheck:
|
2024-01-03 08:36:17 +00:00
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
2021-12-07 21:17:18 +00:00
|
|
|
interval: 2m
|
|
|
|
timeout: 3s
|
|
|
|
retries: 3
|
|
|
|
start_period: 40s
|
2021-12-07 20:30:08 +00:00
|
|
|
|
2021-12-07 13:50:05 +00:00
|
|
|
networks:
|
|
|
|
darkflame:
|