-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
105 lines (97 loc) · 2.28 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
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
version: '3'
services:
core:
build:
context: core/
depends_on:
- "db"
volumes:
- /var/log/meteor/core:/var/log/meteor/core
command: sh -c "/wait && /root/core"
environment:
- WAIT_HOSTS=db:5432
- WAIT_HOSTS_TIMEOUT=300
- WAIT_SLEEP_INTERVAL=3
- WAIT_HOST_CONNECT_TIMEOUT=30
- LOGPATH=/var/log/meteor/core/core.log
networks:
meteornet:
ipv4_address: 172.16.77.2
db:
build:
context: database/
volumes:
- ./postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
networks:
meteornet:
ipv4_address: 172.16.77.3
daddytops:
build:
context: listeners/daddy_tops/
ports:
- "8888:8888"
depends_on:
- "core"
volumes:
- /var/log/meteor/daddytops:/var/log/meteor/daddytops
command: sh -c "/wait && /root/daddy_tops"
environment:
- WAIT_HOSTS=db:5432
- WAIT_HOSTS_TIMEOUT=300
- WAIT_SLEEP_INTERVAL=3
- WAIT_HOST_CONNECT_TIMEOUT=30
- CORE_SERVER=172.16.77.2
- NEST_SERVER=172.16.77.5:45678
- ADMIN_PW=admin123!
networks:
meteornet:
ipv4_address: 172.16.77.4
nest:
build:
context: listeners/nest/
ports:
- "45678:45678"
volumes:
- /var/log/meteor/nest:/var/log/meteor/nest
restart: always
networks:
meteornet:
ipv4_address: 172.16.77.5
petrie:
build:
context: listeners/petrie/
ports:
- "10666:10666"
volumes:
- /var/log/meteor/petrie:/var/log/meteor/petrie
environment:
- PETRIE_PORT=10666
- CORE_SERVER=172.16.77.2:9999
- LOGPATH=/var/log/meteor/petrie/petrie.log
restart: always
networks:
meteornet:
ipv4_address: 172.16.77.6
little_foot:
build:
context: listeners/little_foot/
ports:
- "8080:8080"
volumes:
- /var/log/meteor/little_foot:/var/log/meteor/little_foot
- ./bin:/app
environment:
- CORE_SERVER=172.16.77.2:9999
- LOGPATH=/var/log/meteor/little_foot/little_foot.log
- LF_PORT=8080
networks:
meteornet:
ipv4_address: 172.16.77.8
networks:
meteornet:
ipam:
driver: default
config:
- subnet: 172.16.77.0/24