DarkflameServer/docker-compose.yml

50 lines
1.1 KiB
YAML
Raw Normal View History

2021-12-07 13:50:05 +00:00
version: "3"
services:
database:
container_name: DarkflameDatabase
image: mariadb:latest
environment:
- MARIADB_USER=${MARIADB_USER:-darkflame}
- MARIADB_PASSWORD=${MARIADB_PASSWORD:-darkflame}
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD:-darkflame}
- MARIADB_DATABASE=${MARIADB_DATABASE:-darkflame}
volumes:
- database:/var/lib/mysql
networks:
- darkflame
darkflame:
container_name: DarkFlameServer
networks:
- darkflame
build:
context: .
dockerfile: ./docker/Dockerfile
args:
- BUILD_THREADS=${BUILD_THREADS:-1}
2021-12-07 15:29:26 +00:00
- BUILD_VERSION=${BUILD_VERSION:-171022}
2021-12-07 13:50:05 +00:00
environment:
- DATABASE=${MARIADB_DATABASE:-darkflame}
- DATABASE_HOST=database
- DATABASE_USER=${MARIADB_USER:-darkflame}
- DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame}
volumes:
- $CLIENT_PATH:/client
2021-12-07 20:25:15 +00:00
brickbuildfix:
container_name: DarkFlameBrickBuildFix
networks:
- darkflame
build:
context: .
dockerfile: ./docker/brickfix.Dockerfile
ports:
- 80:80
2021-12-07 13:50:05 +00:00
networks:
darkflame:
volumes:
database: