External IP configuration as well as other small improvements

This commit is contained in:
Jack Kawell
2021-12-07 23:33:34 -07:00
parent 0dfc962df5
commit 59f053433c
4 changed files with 24 additions and 14 deletions

View File

@@ -14,6 +14,8 @@ services:
- ./migrations/dlu:/docker-entrypoint-initdb.d
networks:
- darkflame
ports:
- 3306:3306
darkflame:
container_name: DarkFlameServer
@@ -30,6 +32,7 @@ services:
- DATABASE_HOST=database
- DATABASE_USER=${MARIADB_USER:-darkflame}
- DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame}
- EXTERNAL_IP=${EXTERNAL_IP:-darkflame}
volumes:
- ${CLIENT_PATH:?err}:/client
depends_on:
@@ -82,6 +85,6 @@ services:
networks:
darkflame:
volumes:
database: