-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
56 lines (53 loc) · 1.44 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
version: '2.4'
services:
Server1:
container_name: E4GLStatusBot_Server1
image: hedius/bf4statusbot:latest
userns_mode: "host"
restart: unless-stopped
env_file:
- server1.env
# environment:
# BF4STATUSBOT_BOT_TOKEN: ""
# BF4STATUSBOT_SERVER_GUID: ""
# the following variables are optional
# BF4STATUSBOT_CHECK_MAP: "True"
# BF4STATUSBOT_INTERVAL_PRESENCE_CHANGE: "5"
# BF4STATUSBOT_INTERVAL_DATA_FETCH: "20"
# volumes:
# - type: bind
# source: ./server1.toml
# target: /usr/src/app/config/user.toml
security_opt:
- no-new-privileges
mem_limit: 500M
mem_reservation: 250M
# create an own service for each server
# Server2:
# container_name: E4GLStatusBot_Server2
# image: hedius/bf4statusbot:latest
# userns_mode: "host"
# restart: unless-stopped
# env_file:
# - server2.env
# # environment:
# # BF4STATUSBOT_BOT_TOKEN: ""
# # BF4STATUSBOT_SERVER_GUID: ""
# security_opt:
# - no-new-privileges
# mem_limit: 500M
# mem_reservation: 250M
# Server3:
# container_name: E4GLStatusBot_Server3
# image: hedius/bf4statusbot:latest
# userns_mode: "host"
# restart: unless-stopped
# env_file:
# - server3.env
# # environment:
# # BF4STATUSBOT_BOT_TOKEN: ""
# # BF4STATUSBOT_SERVER_GUID: ""
# security_opt:
# - no-new-privileges
# mem_limit: 500M
# mem_reservation: 250M