2023-03-13 18:36:30 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
arcturus:
|
|
|
|
build:
|
|
|
|
context: arcturus
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
|
|
|
- ./assets/:/app/assets/
|
|
|
|
ports:
|
|
|
|
#- 3000:3000 # gameport
|
|
|
|
#- 3001:3001 # rcon
|
|
|
|
- 2096:2096 # websocket port
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
|
|
|
nitro:
|
|
|
|
build:
|
|
|
|
context: nitro
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
2023-03-13 21:17:43 +01:00
|
|
|
- ./nitro/nginx.conf:/etc/nginx/conf.d/default.conf
|
2023-03-13 18:36:30 +01:00
|
|
|
- ./nitro/renderer-config.json:/usr/share/nginx/html/renderer-config.json
|
|
|
|
- ./nitro/ui-config.json:/usr/share/nginx/html/ui-config.json
|
|
|
|
ports:
|
|
|
|
- 3000:80
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
|
|
|
assets-build:
|
|
|
|
build:
|
|
|
|
context: assets
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
|
|
|
- ./assets/configuration.json:/app/configuration.json
|
|
|
|
- ./assets/assets:/app/assets
|
|
|
|
restart: "no"
|
|
|
|
networks: [nitro]
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10
|
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- 3310:3306
|
|
|
|
volumes:
|
|
|
|
- ./db/data:/var/lib/mysql
|
|
|
|
- ./db/conf.d:/etc/mysql/conf.d
|
|
|
|
- ./db/dumps:/docker-entrypoint-initdb.d
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
2023-10-23 23:58:53 +02:00
|
|
|
backup:
|
|
|
|
image: tiredofit/db-backup
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
volumes:
|
|
|
|
- ./db/backup:/backup
|
|
|
|
environment:
|
|
|
|
- TIMEZONE=UTC
|
|
|
|
- DB_TYPE=mariadb
|
|
|
|
- DB_HOST=db
|
|
|
|
- DB_USER=$MYSQL_USER
|
|
|
|
- DB_PASS=$MYSQL_PASSWORD
|
|
|
|
- DB_NAME=$MYSQL_DATABASE
|
|
|
|
- COMPRESSION=GZ
|
|
|
|
- ENABLE_CHECKSUM=TRUE
|
|
|
|
- CHECKSUM=SHA1
|
|
|
|
- DB_DUMP_BEGIN=0315
|
|
|
|
- DB_DUMP_FREQ=1440
|
|
|
|
- DB_CLEANUP_TIME=10080
|
|
|
|
- CREATE_LATEST_SYMLINK=FALSE
|
|
|
|
- CONTAINER_ENABLE_MONITORING=FALSE
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
2023-03-13 18:36:30 +01:00
|
|
|
assets:
|
|
|
|
image: nginx:alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
volumes:
|
2023-03-14 20:02:03 +01:00
|
|
|
- ./assets/nginx:/etc/nginx/conf.d/
|
2023-03-13 18:36:30 +01:00
|
|
|
- ./assets/:/usr/share/nginx/html
|
|
|
|
networks: [nitro]
|
|
|
|
|
2023-10-24 15:59:51 +02:00
|
|
|
imager:
|
|
|
|
build:
|
|
|
|
context: imager
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
|
|
|
- ./assets/:/app/assets/
|
|
|
|
ports:
|
|
|
|
- 3001:3000
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
2023-10-24 20:16:23 +02:00
|
|
|
imgproxy:
|
|
|
|
image: ghcr.io/willnorris/imageproxy
|
|
|
|
depends_on:
|
|
|
|
# proxied through nginx of assets
|
|
|
|
- assets
|
|
|
|
volumes:
|
|
|
|
- "./assets/usercontent/imageproxy/cache:/tmp/imageproxy"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
restart: unless-stopped
|
|
|
|
networks: [nitro]
|
|
|
|
|
2023-03-13 18:36:30 +01:00
|
|
|
networks:
|
|
|
|
nitro:
|