forked from metin2/deploy
1
0
Fork 0

Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

1 changed files with 12 additions and 11 deletions

View File

@ -1,3 +1,4 @@
version: '3.3'
services:
# MySQL Database
mysql:
@ -5,9 +6,9 @@ services:
restart: always
environment:
# Password for root access
MYSQL_ROOT_PASSWORD: "metin2"
MYSQL_ROOT_PASSWORD: 'metin2'
ports:
- "3306:3306"
- '3306:3306'
expose:
- 3306
volumes:
@ -23,7 +24,7 @@ services:
volumes:
- ./config/db.txt:/app/conf.txt
- ./storage/log/db/:/app/log/
# Auth server
auth:
image: metin2/server:test
@ -32,7 +33,7 @@ services:
- 11000
- 12000
ports:
- "11000:11000"
- '11000:11000'
command: game
volumes:
- ./config/auth.txt:/app/CONFIG
@ -46,13 +47,13 @@ services:
- 13000
- 14000
ports:
- "13000:13000"
- '13000:13000'
command: game
volumes:
- ./config/ch1/first.txt:/app/CONFIG
- ./storage/log/ch1/first/:/app/log/
- ./storage/mark/:/app/mark/
ch1_game1:
image: metin2/server:test
restart: always
@ -60,12 +61,12 @@ services:
- 13001
- 14001
ports:
- "13001:13001"
- '13001:13001'
command: game
volumes:
- ./config/ch1/game1.txt:/app/CONFIG
- ./storage/log/ch1/game1/:/app/log/
ch1_game2:
image: metin2/server:test
restart: always
@ -73,12 +74,12 @@ services:
- 13002
- 14002
ports:
- "13002:13002"
- '13002:13002'
command: game
volumes:
- ./config/ch1/game2.txt:/app/CONFIG
- ./storage/log/ch1/game2/:/app/log/
# Game server (game99)
game99:
image: metin2/server:test
@ -87,7 +88,7 @@ services:
- 13099
- 14099
ports:
- "13099:13099"
- '13099:13099'
command: game
volumes:
- ./config/game99.txt:/app/CONFIG