-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
66 lines (63 loc) · 1.87 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
networks:
opendaoc-network:
driver: bridge
volumes:
opendaoc-db-data:
base-db:
services:
db:
image: mariadb:10.6
container_name: opendaoc-db
stdin_open: true
tty: true
command: --default-authentication-plugin=mysql_native_password --lower_case_table_names=1 --character-set-server=utf8mb3 --collation-server=utf8mb3_general_ci --innodb_large_prefix=1 --innodb_file_format=Barracuda --innodb_file_per_table=1
restart: always
environment:
MYSQL_DATABASE: opendaoc
MYSQL_ROOT_PASSWORD: my-secret-pw
volumes:
- opendaoc-db-data:/var/lib/mysql
- base-db:/docker-entrypoint-initdb.d
networks:
- opendaoc-network
gameserver:
image: ghcr.io/opendaoc/opendaoc-core:latest
container_name: opendaoc-server
stdin_open: true
tty: true
ports:
- "10300:10300"
- "10400:10400"
depends_on:
- db
environment:
UID: "1000"
GID: "1000"
AUTO_ACCOUNT_CREATION: "True"
CHEAT_LOGGER_NAME: "cheats"
CPU_USE: "8"
DB_AUTOSAVE: "True"
DB_AUTOSAVE_INTERVAL: "10"
DB_CONNECTION_STRING: "server=db;port=3306;database=opendaoc;userid=root;password=my-secret-pw;treattinyasboolean=true"
DB_TYPE: "MYSQL"
DETECT_REGION_IP: "True"
ENABLE_COMPILATION: "True"
ENABLE_UPNP: "False"
GAME_TYPE: "Normal"
GM_ACTION_LOGGER_NAME: "gmactions"
INVALID_NAMES_FILE: "./config/invalidnames.txt"
LOG_CONFIG_FILE: "./config/logconfig.xml"
REGION_IP: "0.0.0.0"
REGION_PORT: "10400"
SCRIPT_ASSEMBLIES: ""
SCRIPT_COMPILATION_TARGET: "./lib/GameServerScripts.dll"
SERVER_IP: "0.0.0.0"
SERVER_NAME: "OpenDAoC"
SERVER_NAME_SHORT: "OPENDAOC"
SERVER_PORT: "10300"
UDP_IP: "0.0.0.0"
UDP_PORT: "10400"
volumes:
- base-db:/tmp/opendaoc-db
networks:
- opendaoc-network