This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
86 lines (80 loc) · 1.86 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
version: "3"
services:
sra-taxii2-server:
container_name: sra-taxii2-server
build:
context: ./
depends_on:
- sra-taxii2-mongo
restart: always
volumes:
- ./:/usr/src/app/
- /usr/src/app/node_modules
- /opt/taxii/certs:/opt/taxii/certs
- /opt/taxii/filetemp:/opt/taxii/filetemp
ports:
- "3002:3000"
- "3003:3001"
networks:
- taxii_bridge
dns: 8.8.8.8
sra-taxii2-manager-server:
container_name: sra-taxii2-manager-server
build:
context: ../sra-taxii2-manager/server
depends_on:
- sra-taxii2-mongo
restart: always
volumes:
- ../sra-taxii2-manager/server:/usr/src/app/
- /usr/src/app/node_modules
- /opt/taxii/certs:/opt/taxii/certs
- /opt/taxii/sharedimport:/opt/taxii/sharedimport
ports:
- "4002:4000"
- "4003:4001"
networks:
- taxii_bridge
dns: 8.8.8.8
sra-taxii2-mongo:
container_name: sra-taxii2-mongo
image: mongo
volumes:
- ./data:/data/db
ports:
- "27019:27017"
networks:
- taxii_bridge
dns: 8.8.8.8
sra-taxii2-redis:
container_name: sra-taxii2-redis
image: redis
volumes:
- ./redisData:/data
ports:
- "6500:6379"
networks:
- taxii_bridge
dns: 8.8.8.8
sra-taxii2-server-queue:
container_name: sra-taxii2-server-queue
build:
context: ../sra-taxii2-server-queue
depends_on:
- sra-taxii2-redis
- sra-taxii2-server
restart: always
volumes:
- ../sra-taxii2-server-queue:/usr/src/app/
- /usr/src/app/node_modules
- /opt/taxii/filetemp:/opt/taxii/filetemp
- /opt/taxii/sharedimport:/opt/taxii/sharedimport
networks:
- taxii_bridge
dns: 8.8.8.8
networks:
taxii_bridge:
ipam:
driver: default
config:
- subnet: 10.0.24.0/24