-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
108 lines (107 loc) · 2.12 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
106
107
108
version: "3.3"
services:
meme-model-api:
build:
context: .
dockerfile: meme-model-api/Dockerfile
ports:
- "5001:5001"
volumes:
- type: volume
source: data
target: /modergator/data/
volume:
nocopy: false
networks:
static-network:
ipv4_address: 172.20.0.11
text-api:
build:
context: .
dockerfile: text-api/Dockerfile
ports:
- "5002:5002"
networks:
static-network:
ipv4_address: 172.20.0.12
ocr-api:
build:
context: .
dockerfile: ocr-api/Dockerfile
ports:
- "5003:5003"
volumes:
- type: volume
source: data
target: /modergator/data/
volume:
nocopy: false
networks:
static-network:
ipv4_address: 172.20.0.13
asr-api:
build:
context: .
dockerfile: asr-api/Dockerfile
ports:
- "5004:5004"
volumes:
- type: volume
source: data
target: /modergator/data/
volume:
nocopy: false
networks:
static-network:
ipv4_address: 172.20.0.14
target-api:
build:
context: .
dockerfile: target-api/Dockerfile
ports:
- "5005:5005"
networks:
static-network:
ipv4_address: 172.20.0.15
meme-detection-api:
build:
context: .
dockerfile: meme-detection-api/Dockerfile
ports:
- "5006:5006"
volumes:
- type: volume
source: data
target: /modergator/data/
volume:
nocopy: false
networks:
static-network:
ipv4_address: 172.20.0.16
telegram-bot:
build:
context: .
dockerfile: telegram-bot/Dockerfile
depends_on:
- meme-model-api
- meme-detection-api
- text-api
- ocr-api
- asr-api
- target-api
volumes:
- type: volume
source: data
target: /modergator/data/
volume:
nocopy: false
networks:
static-network:
ipv4_address: 172.20.0.17
volumes:
data:
networks:
static-network:
ipam:
config:
- subnet: 172.20.0.0/24