2023-12-09 23:34:28 +02:00
|
|
|
services:
|
|
|
|
# MySQL Database
|
|
|
|
mysql:
|
|
|
|
image: mysql:5.5
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
# Password for root access
|
2024-06-02 01:37:50 +03:00
|
|
|
MYSQL_ROOT_PASSWORD: "metin2"
|
2023-12-09 23:34:28 +02:00
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "3306:3306"
|
2023-12-09 23:34:28 +02:00
|
|
|
expose:
|
|
|
|
- 3306
|
|
|
|
volumes:
|
|
|
|
- ./storage/database/:/var/lib/mysql/
|
|
|
|
|
|
|
|
# DBCache Server
|
|
|
|
db:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 15000
|
|
|
|
command: db
|
|
|
|
volumes:
|
|
|
|
- ./config/db.txt:/app/conf.txt
|
|
|
|
- ./storage/log/db/:/app/log/
|
2024-06-02 01:37:50 +03:00
|
|
|
|
2023-12-09 23:34:28 +02:00
|
|
|
# Auth server
|
|
|
|
auth:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 11000
|
|
|
|
- 12000
|
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "11000:11000"
|
2023-12-09 23:34:28 +02:00
|
|
|
command: game
|
|
|
|
volumes:
|
|
|
|
- ./config/auth.txt:/app/CONFIG
|
|
|
|
- ./storage/log/auth/:/app/log/
|
|
|
|
|
|
|
|
# Game server (CH1)
|
|
|
|
ch1_first:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 13000
|
|
|
|
- 14000
|
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "13000:13000"
|
2023-12-09 23:34:28 +02:00
|
|
|
command: game
|
|
|
|
volumes:
|
|
|
|
- ./config/ch1/first.txt:/app/CONFIG
|
|
|
|
- ./storage/log/ch1/first/:/app/log/
|
|
|
|
- ./storage/mark/:/app/mark/
|
2024-06-02 01:37:50 +03:00
|
|
|
|
2023-12-09 23:34:28 +02:00
|
|
|
ch1_game1:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 13001
|
|
|
|
- 14001
|
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "13001:13001"
|
2023-12-09 23:34:28 +02:00
|
|
|
command: game
|
|
|
|
volumes:
|
|
|
|
- ./config/ch1/game1.txt:/app/CONFIG
|
|
|
|
- ./storage/log/ch1/game1/:/app/log/
|
2024-06-02 01:37:50 +03:00
|
|
|
|
2023-12-09 23:34:28 +02:00
|
|
|
ch1_game2:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 13002
|
|
|
|
- 14002
|
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "13002:13002"
|
2023-12-09 23:34:28 +02:00
|
|
|
command: game
|
|
|
|
volumes:
|
|
|
|
- ./config/ch1/game2.txt:/app/CONFIG
|
|
|
|
- ./storage/log/ch1/game2/:/app/log/
|
2024-06-02 01:37:50 +03:00
|
|
|
|
2023-12-09 23:34:28 +02:00
|
|
|
# Game server (game99)
|
|
|
|
game99:
|
|
|
|
image: metin2/server:test
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 13099
|
|
|
|
- 14099
|
|
|
|
ports:
|
2024-06-02 01:37:50 +03:00
|
|
|
- "13099:13099"
|
2023-12-09 23:34:28 +02:00
|
|
|
command: game
|
|
|
|
volumes:
|
|
|
|
- ./config/game99.txt:/app/CONFIG
|
|
|
|
- ./storage/log/game99/:/app/log/
|