forked from jffz/docker-ebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (72 loc) · 1.65 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
67
68
69
70
71
72
73
74
ebot:
image: hsfactory/ebot
restart: always
links:
- "mysql:mysql"
ports:
- "12360:12360"
- "12361:12361"
- "12360:12360/udp"
- "12361:12361/udp"
volumes:
- /opt/docker/ebot/logs:/ebot/logs
- /opt/docker/ebot/demos:/ebot/demos
environment:
EXTERNAL_IP: 'xxx.xxx.xxx.xxx'
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: 'ebotv3'
LO3_METHOD: 'restart'
KO3_METHOD: 'restart'
DEMO_DOWNLOAD: 'true'
REMIND_RECORD: 'false'
DAMAGE_REPORT: 'true'
DELAY_READY: 'false'
NODE_STARTUP_METHOD: 'node'
USE_DELAY_END_RECORD: 'true'
TOORNAMENT_PLUGIN_KEY: ''
ebotweb:
image: hsfactory/ebotweb
restart: always
links:
- "mysql:mysql"
ports:
- "80:80"
volumes:
- /opt/docker/ebot/demos:/opt/ebot/demos
- /opt/docker/ebot/logs:/opt/ebot/logs
environment:
EBOT_IP: 'xxx.xxx.xxx.xxx'
EBOT_PORT: '12360'
EBOT_ADMIN_USER: 'admin'
EBOT_ADMIN_PASS: 'password'
EBOT_ADMIN_MAIL: ''
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: 'ebotv3'
DEMO_DOWNLOAD: 'true'
DEFAULT_RULES: 'esl5on5'
TOORNAMENT_ID: ''
TOORNAMENT_SECRET: ''
TOORNAMENT_API_KEY: ''
TOORNAMENT_PLUGIN_KEY: ''
mysql:
image: mysql:5.7
restart: always
volumes:
- /opt/docker/ebot/mysql:/var/lib/mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_DATABASE=ebotv3
- MYSQL_USER=ebotv3
- MYSQL_PASSWORD=ebotv3
- MYSQL_ROOT_PASSWORD=MyAwesomePassword
- MYSQL_ROOT_HOST=%
command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION"