-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-dev.yml
81 lines (78 loc) · 2.1 KB
/
docker-compose-dev.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
75
76
77
78
79
80
81
version: '3.7'
services:
ebot:
image: counterstrafe/ebot:1.0.0
restart: always
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: '${EXTERNAL_IP}'
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: '${MYSQL_PASS}'
LO3_METHOD: 'restart'
KO3_METHOD: 'restart'
DEMO_DOWNLOAD: 'true'
REMIND_RECORD: 'false'
DAMAGE_REPORT: 'true'
DELAY_READY: 'false'
PAUSE_METHOD: 'none'
NODE_STARTUP_METHOD: 'node'
USE_DELAY_END_RECORD: 'true'
TOORNAMENT_PLUGIN_KEY: ''
ebotweb:
image: counterstrafe/ebotweb
restart: always
ports:
- "80:80"
volumes:
- /opt/docker/ebot/demos:/opt/ebot/demos
- /opt/docker/ebot/logs:/opt/ebot/logs
environment:
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: '${MYSQL_PASS}'
EBOT_ADMIN_USER: 'admin'
EBOT_ADMIN_PASS: '${EBOT_ADMIN_PASS}'
EBOT_ADMIN_MAIL: ''
DEFAULT_MAX_ROUND: '8'
DEFAULT_RULES: 'counterstrafe_wingman'
DEFAULT_OVERTIME_STARTMONEY: '10000'
DEMO_DOWNLOAD: 'true'
EBOT_PROTO: 'http://'
EBOT_IP: '${EBOT_IP}'
EBOT_PORT: '12360'
TOORNAMENT_ID: '${TOORNAMENT_ID}'
TOORNAMENT_SECRET: '${TOORNAMENT_SECRET}'
TOORNAMENT_API_KEY: '${TOORNAMENT_API_KEY}'
TOORNAMENT_PLUGIN_KEY: ''
mysql:
image: mysql:5.7
restart: always
volumes:
- /opt/docker/ebot/mysql:/var/lib/mysql
- ./ethot-db/ethot.sql:/docker-entrypoint-initdb.d/ethot.sql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_DATABASE=ebotv3
- MYSQL_USER=ebotv3
- MYSQL_PASSWORD=${MYSQL_PASS}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASS}
- MYSQL_ROOT_HOST=%
command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION"
secrets:
secrets.edn:
file: ./secrets.edn