updated example docker-compose.yml

This commit is contained in:
Hendrik Boll 2019-09-28 12:08:11 +02:00
parent 13bd22657c
commit adeeb523d8
1 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@ services:
ports: ports:
- "8080:80" - "8080:80"
tmserver: tmserver:
build: ./docker-tmserver image: fanyx/tmserver:latest
container_name: trackmania_tmserver container_name: trackmania_tmserver
depends_on: depends_on:
- db - db
@ -37,13 +37,15 @@ services:
- SERVER_NAME=Trackmania Server - SERVER_NAME=Trackmania Server
- SERVER_COMMENT=This is a Trackmania Server - SERVER_COMMENT=This is a Trackmania Server
- SERVER_PASSWORD= - SERVER_PASSWORD=
volumes:
- ./tracks:/opt/tmserver/GameData/Tracks/Challenges/Custom
ports: ports:
- "2350:2350" - "2350:2350"
- "2350:2350/udp" - "2350:2350/udp"
- "3450:3450" - "3450:3450"
- "3450:3450/udp" - "3450:3450/udp"
xaseco: xaseco:
build: ./docker-xaseco image: fanyx/xaseco:latest
container_name: trackmania_xaseco container_name: trackmania_xaseco
depends_on: depends_on:
- db - db
@ -51,7 +53,7 @@ services:
restart: on-failure restart: on-failure
environment: environment:
- SERVER_SA_PASSWORD= - SERVER_SA_PASSWORD=
- DB_HOST=db
- DB_LOGIN=trackmania - DB_LOGIN=trackmania
- DB_LOGIN_PASSWORD= - DB_LOGIN_PASSWORD=
- DB_NAME=trackmania - DB_NAME=trackmania
- MASTER_ADMIN=