-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.dev.yml
124 lines (124 loc) · 4.39 KB
/
docker-compose.dev.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: "3"
services:
intelmq:
image: intelmq-dev
build:
args:
INTELMQ_REVISION: $SOURCE_INTELMQ_REVISION
INTELMQ_API_REVISION: $SOURCE_INTELMQ_API_REVISION
INTELMQ_MANAGER_REVISION: $SOURCE_INTELMQ_MANAGER_REVISION
INTELMQ_CERTBUND_CONTACT_REVISION: $SOURCE_INTELMQ_CERTBUND_CONTACT_REVISION
INTELMQ_MAILGEN_REVISION: $SOURCE_INTELMQ_MAILGEN_REVISION
ports:
- 1380:80
- 1381:81
volumes:
- $DEV_CERTBUND_CONTACT_SRC:/opt/intelmq-certbund-contact
- $DEV_INTELMQ_SRC:/opt/intelmq_src
- $DEV_INTELMQ_API_SRC:/opt/intelmq-api
- $DEV_INTELMQ_MANAGER_SRC:/opt/intelmq-manager
fody:
image: intelmq-fody-dev
ports:
- 1382:8080
volumes:
- $DEV_FODY_SRC:/opt/src/intelmq-fody
fody-backend:
image: intelmq-fody-backend-dev
build:
args:
INTELMQ_MAILGEN_REVISION: $SOURCE_INTELMQ_MAILGEN_REVISION
REVISION: $SOURCE_FODY_BACKEND_REVISION
ports:
- 1340:8002
volumes:
- $DEV_FODY_BACKEND_SRC:/opt/intelmq-fody-backend
- $DEV_MAILGEN_SRC:/opt/intelmq-mailgen
database:
image: intelmq-database-dev
build:
args:
INTELMQ_REVISION: $SOURCE_INTELMQ_REVISION
INTELMQ_CERTBUND_CONTACT_REVISION: $SOURCE_INTELMQ_CERTBUND_CONTACT_REVISION
volumes:
- $DEV_INTELMQ_SRC:/opt/intelmq
- $DEV_CERTBUND_CONTACT_SRC:/opt/intelmq-certbund-contact
ports:
- 1338:5432
mailgen:
image: intelmq-mailgen-dev
build:
args:
INTELMQ_MAILGEN_REVISION: $SOURCE_INTELMQ_MAILGEN_REVISION
volumes:
- $DEV_MAILGEN_SRC:/opt/intelmq-mailgen
ports:
- 1339:5432
webinput-csv:
image: intelmq-webinput-csv-dev
ports:
- 1383:8080
volumes:
- $DEV_WEBINPUT_CSV_SRC:/opt/intelmq-webinput-csv
entrypoint: /opt/init/startup-dev.sh
webinput-csv-backend:
image: intelmq-webinput-csv-backend-dev
ports:
- 1341:8002
volumes:
- $DEV_WEBINPUT_CSV_SRC:/opt/intelmq-webinput-csv
build:
args:
INTELMQ_PYPI_VERSION: $SOURCE_INTELMQ_PYPI_VERSION
webinput-csv-intelmq-mailgen:
image: intelmq-webinput-csv-backend-mailgen-dev
build:
args:
context: .
dockerfile: webinput-csv-backend/mailgen.Dockerfile
args:
USE_CERTBUND: $USE_CERTBUND
INTELMQ_REVISION: $SOURCE_INTELMQ_REVISION
INTELMQ_API_REVISION: $SOURCE_INTELMQ_API_REVISION
INTELMQ_MANAGER_REVISION: $SOURCE_INTELMQ_MANAGER_REVISION
INTELMQ_CERTBUND_CONTACT_REVISION: $SOURCE_INTELMQ_CERTBUND_CONTACT_REVISION
INTELMQ_MAILGEN_REVISION: $SOURCE_INTELMQ_MAILGEN_REVISION
environment:
INTELMQ_SOURCE_PIPELINE_HOST: redis
INTELMQ_DESTINATION_PIPELINE_HOST: redis
INTELMQ_REDIS_CACHE_HOST: redis
USE_CERTBUND: $USE_CERTBUND
restart: always
depends_on:
- redis
- database
- dsmtpd
volumes:
- $DEV_CERTBUND_CONTACT_SRC:/opt/intelmq-certbund-contact
- $DEV_INTELMQ_SRC:/opt/intelmq_src
- $DEV_INTELMQ_API_SRC:/opt/intelmq-api
- $DEV_INTELMQ_MANAGER_SRC:/opt/intelmq-manager
- $DEV_MAILGEN_SRC:/opt/intelmq-mailgen
- $DEV_CERTBUND_FORMATS:/opt/formats
- $DEV_CERTBUND_TEMPLATES:/opt/templates
- $DEV_CERTBUND_RULES:/opt/rules
- ./mailgen/init:/opt/mailgen-init
- ./webinput-csv-backend/conf:/opt/conf
- ./webinput-csv-backend/init-mailgen:/opt/init
- $DEV_WEBINPUT_CSV_SRC:/opt/intelmq-webinput-csv
networks:
- intelmq
ports:
# manager
- 1380:80
# api
- 1381:81
# webinput
- 1383:8080
# webinput backend
- 1341:8002
- 1339:5432
extra_hosts:
- intelmq-webinput-csv-backend:127.0.0.1
profiles:
- donotstart