forked from sairuk/docker-tribesnext-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
67 lines (58 loc) · 1.31 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
version: "3.7"
services:
t2:
build:
context: .
dockerfile: ./Dockerfile
environment:
T2_SERVERNAME: "T2DockerTest"
secrets:
- t2.superadmin.list
- t2.admin.list
- t2.admin.password
- t2.classic.superadmin.password
- t2.classic.telnet.password
- t2.classic.telnet.listen.password
ports:
- target: 28000
published: 28000
protocol: udp
mode: host
- target: 666
protocol: tcp
published: 27999
mode: host
networks:
- t2-net
deploy:
replicas: 1
update_config:
parallelism: 1
delay: 5s
restart_policy:
condition: on-failure
logging:
options:
max-size: "10m"
networks:
t2-net:
driver: overlay
secrets:
t2.superadmin.list:
external: true
name: t2.superadmin.list.v1
t2.admin.list:
external: true
name: t2.admin.list.v1
t2.admin.password:
external: true
name: t2.admin.password.v1
t2.classic.superadmin.password:
external: true
name: t2.classic.superadmin.password.v1
t2.classic.telnet.password:
external: true
name: t2.classic.telnet.password.v1
t2.classic.telnet.listen.password:
external: true
name: t2.classic.telnet.listen.password.v1