Fixed block mapping error in yml parsing

This commit is contained in:
Hendrik Boll 2019-05-12 11:18:28 +02:00
parent e35c58d3de
commit bbca8b418f
1 changed files with 44 additions and 44 deletions

View File

@ -1,45 +1,45 @@
version: '3' version: '3'
services: services:
db: db:
image: mysql:5 image: mysql:5
container_name: trackmania_db container_name: trackmania_db
restart: always restart: always
environment: environment:
- MYSQL_ROOT_PASSWORD= - MYSQL_ROOT_PASSWORD=
- MYSQL_DATABASE=trackmania - MYSQL_DATABASE=trackmania
- MYSQL_USER=trackmania - MYSQL_USER=trackmania
- MYSQL_PASSWORD= - MYSQL_PASSWORD=
volumes: volumes:
- /db-data:/var/lib/mysql - /db-data:/var/lib/mysql
pma: pma:
image: phpmyadmin/phpmyadmin image: phpmyadmin/phpmyadmin
container_name: trackmania_phpmyadmin container_name: trackmania_phpmyadmin
depends_on: depends_on:
- db - db
environment: environment:
- PMA_ARBITRARY=1 - PMA_ARBITRARY=1
restart: always restart: always
ports: ports:
- "8080:80" - "8080:80"
tmserver: tmserver:
build: . build: .
image: fanyx/tmserver image: fanyx/tmserver
container_name: trackmania_tmserver container_name: trackmania_tmserver
depends_on: depends_on:
- db - db
restart: always restart: always
environment: environment:
- SERVER_LOGIN= - SERVER_LOGIN=
- SERVER_LOGIN_PASSWORD= - SERVER_LOGIN_PASSWORD=
- SERVER_PORT=2350 - SERVER_PORT=2350
- SERVER_P2P_PORT=3450 - SERVER_P2P_PORT=3450
- SERVER_SA_PASSWORD= - SERVER_SA_PASSWORD=
- SERVER_ADMIN_PASSWORD= - SERVER_ADMIN_PASSWORD=
- 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=
ports: ports:
- "2350:2350" - "2350:2350"
- "2350:2350/udp" - "2350:2350/udp"
- "3450:3450" - "3450:3450"
- "3450:3450/udp" - "3450:3450/udp"