-
Notifications
You must be signed in to change notification settings - Fork 125
/
docker-compose.yaml
87 lines (87 loc) · 2.41 KB
/
docker-compose.yaml
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
version: '3.7'
services:
rabbit:
restart: always
image: 'iqtlabs/rabbitmq:latest'
ports:
- '127.0.0.1:15672:15672'
- '5672:5672'
networks:
poseidon:
aliases:
- RABBIT_SERVER
- rabbitmq
- messenger
build:
context: helpers/rabbitmq
dockerfile: Dockerfile
network_tap:
restart: always
image: 'iqtlabs/network_tap:v0.11.33'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '${POSEIDON_PREFIX}/opt/poseidon_files:/files'
environment:
PYTHONUNBUFFERED: '1'
KEEPIMAGES: '0'
networks:
poseidon:
poseidon_api:
restart: always
image: 'iqtlabs/poseidon-api:latest'
ports:
- '5000:8000'
environment:
PYTHONUNBUFFERED: '1'
volumes:
- '${POSEIDON_PREFIX}/opt/poseidon:/opt/poseidon'
networks:
poseidon:
aliases:
- poseidon-api
depends_on:
- poseidon
build:
context: helpers/api
dockerfile: Dockerfile
poseidon:
restart: always
image: 'iqtlabs/poseidon:latest'
ports:
- '9304:9304'
environment:
PYTHONUNBUFFERED: '1'
volumes:
- '${POSEIDON_PREFIX}/opt/poseidon:/opt/poseidon'
- '${POSEIDON_PREFIX}/var/log/poseidon:/var/log/poseidon'
- '${POSEIDON_PREFIX}/opt/faucetconfrpc:/certs'
networks:
- poseidon
depends_on:
faucetconfrpc:
condition: service_healthy
rabbitmq_adapter:
condition: service_started
build:
context: .
dockerfile: Dockerfile
workers:
restart: always
image: 'iqtlabs/poseidon-workers:latest'
environment:
PYTHONUNBUFFERED: '1'
KEEPIMAGES: '0'
VOL_PREFIX: '${POSEIDON_PREFIX}'
SWARM: '${POSEIDON_SWARM}'
networks:
- poseidon
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
depends_on:
- poseidon
build:
context: workers
dockerfile: Dockerfile
networks:
poseidon:
driver: overlay