-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 995 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.8'
volumes:
ddon-server-sqlite-volume:
networks:
ddon-network:
services:
app:
container_name: ddon-server
build:
context: .
args:
- RUNTIME=${RUNTIME}
restart: no
ports:
# Database
- '3306:3306'
# Game server
- "52000:52000"
# Web server
- "52099:52099"
# Login server
- "52100:52100"
environment:
- DB_TYPE=sqlite
- DB_DATABASE=Ddon
- DB_FOLDER=/var/ddon/server/Files/Database
- DB_PORT=3306
- DB_WIPE_ON_STARTUP=false
volumes:
- ddon-server-sqlite-volume:/var/ddon/server/Files/Database
- ./Arrowgene.Ddon.config.local_dev.json:/var/ddon/server/Files/Arrowgene.Ddon.config.json:ro
- ./Arrowgene.Ddon.Shared/Files/Assets:/var/ddon/server/Files/Assets:ro
networks:
- ddon-network
# Workaround: cli expects to be able to process keyboard input
tty: true
command: /var/ddon/server/Arrowgene.Ddon.Cli server start