-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (57 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
64 lines (57 loc) · 1.2 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
version: '3.9'
services:
destructivefarm:
container_name: adserver-destructivefarm
build:
context: .
dockerfile: destructivefarm/Dockerfile
ports:
- "5000:5000"
volumes:
- ./config.toml:/app/config.toml:ro
environment:
DEBUG: ${DEBUG-}
restart: unless-stopped
mongo:
image: docker.io/mongo:6.0.8-jammy
hostname: mongo
restart: unless-stopped
command: --wiredTigerCacheSizeGB 1
caronte:
container_name: adserver-caronte
hostname: caronte
build:
context: .
dockerfile: caronte/Dockerfile
ports:
- "3333:3333"
volumes:
- ./config.toml:/app/config.toml:ro
- pcap:/data
environment:
MONGO_HOST: mongo
DEBUG: ${DEBUG-}
depends_on:
- mongo
restart: unless-stopped
worker:
container_name: adserver-worker
build:
context: .
dockerfile: worker/Dockerfile
volumes:
- ./config.toml:/app/config.toml:ro
- pcap:/data
environment:
DEBUG: ${DEBUG-}
depends_on:
- caronte
restart: unless-stopped
volumes:
pcap:
networks:
default:
name: adserver_default
ipam:
config:
- subnet: 10.89.12.0/24