-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
114 lines (107 loc) · 2.73 KB
/
Copy pathdocker-compose.example.yml
File metadata and controls
114 lines (107 loc) · 2.73 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
x-reflexded-base: &reflexded-base
image: reflexded:latest # see service reflexded_installer build
tty: true
init: true
restart: unless-stopped
depends_on:
reflexded_installer:
condition: service_completed_successfully
volumes:
- './reflexded/:/srv/steam/reflexded/'
logging:
driver: 'local'
options:
max-size: '10m'
max-file: '3'
x-dedicatedserver-cfg-env: &dedicatedserver-cfg-env
SRV_ARGS_COMMON: >
+sv_maxclients 6
+sv_steam 1
+sv_allowedit 0
+sv_country PL
+sv_startmap Fusion
+sv_startwmap 608417285
+sv_startruleset competitive
+sv_startmode 1v1
services:
ded1:
<<: *reflexded-base
ports:
- '25787:25787/tcp'
- '25787:25787/udp'
environment:
<<: *dedicatedserver-cfg-env
SRV_ARGS: >
+sv_hostname #1 Bobr Rated http://bobr.furioness.net/ - demos
+sv_maxclients 9
+sv_gameport 25787
ded2:
<<: *reflexded-base
ports:
- '25788:25788/tcp'
- '25788:25788/udp'
environment:
<<: *dedicatedserver-cfg-env
SRV_ARGS: '+sv_hostname #2 Bobr Rated http://bobr.furioness.net/ - demos +sv_gameport 25788'
reflexded_installer:
image: 'reflexded:latest'
pull_policy: never
build:
context: _internal/reflexded/
entrypoint: /install_reflexded.sh
init: true
volumes:
- './reflexded/:/srv/steam/reflexded'
restart: on-failure:3 # This service should not restart once completed.
nginx:
image: nginx:trixie
ports:
- "80:80"
volumes:
- './_internal/nginx/nginx.conf:/etc/nginx/nginx.conf:ro'
- './_internal/replay_frontend/dist/:/www/app/:ro'
- './db:/www/db/:ro'
- './reflexded/replays/:/www/replays/:ro'
restart: always
logging:
driver: 'local'
options:
max-size: '10m'
max-file: '3'
cpus: 0.1
ruleset_service:
build:
context: _internal/ruleset_service/
init: true
environment:
RULESETS_GIT_REPO: 'https://github.com/Nailok/reflex_rulesets.git'
volumes:
- './reflexded/:/srv/steam/reflexded'
- './rulesets_local/:/rulesets_local/:ro'
restart: unless-stopped
logging:
driver: 'local'
options:
max-size: '10m'
max-file: '3'
cpus: 0.1
replay_service:
build:
context: _internal/replay_service/
init: true
environment:
REPLAY_FOLDER: '/replays/'
DB_PATH: '/replay_db/'
MIN_FREE_SPACE_RATIO: 0.25
MIN_REPLAY_RETENTION_MiB: 3500
MIN_EXPECTED_DISK_GiB: 10
volumes:
- './reflexded/replays/:/replays/'
- './db:/replay_db/'
restart: unless-stopped
logging:
driver: 'local'
options:
max-size: '10m'
max-file: '3'
cpus: 0.1