-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.example
77 lines (70 loc) · 1.69 KB
/
docker-compose.yml.example
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
version: '3'
services:
nginx:
image: nginx
container_name: nginx
restart: unless-stopped
volumes:
- ./deployment_sample/nginx:/etc/nginx
depends_on:
- medallion
networks:
- datalake_taxii_integration
nginx_proxy:
image: nginx
container_name: nginx_proxy
restart: unless-stopped
ports:
- 8080:8080
- 443:443
volumes:
- ./deployment_sample/nginx_proxy:/etc/nginx
- ./deployment_sample/certs:/etc/certs # Auto signed certs by default
depends_on:
- nginx
networks:
datalake_taxii_integration:
aliases:
- my.taxii_server.com
taxii_integration:
build: .
restart: unless-stopped
volumes:
- ./queries.json:/code/queries.json
- data_volume:/code/output
env_file: .env
depends_on:
- nginx_proxy
networks:
- datalake_taxii_integration
medallion:
image: ocddev/cti-taxii-server
container_name: medallion-deployment-sample
restart: unless-stopped
command: "uwsgi --ini /deployment_sample/uwsgi.ini"
volumes:
- ./medallion_config.json:/opt/taxii/config.json
- ./deployment_sample/uwsgi.ini:/deployment_sample/uwsgi.ini
depends_on:
- mongo
networks:
- datalake_taxii_integration
mongo:
image: mongo
restart: unless-stopped
container_name: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
# volumes:
# - ./data/mongo_data:/data/db
ports:
- 27017:27017
networks:
- datalake_taxii_integration
volumes:
data_volume:
networks:
datalake_taxii_integration:
name: datalake_taxii_integration
driver: bridge