forked from CommunityHoneyNetwork/chn-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (45 loc) · 1.07 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
---
version: '2'
services:
configure:
image: chn-config
build:
context: .
volumes:
- './config/sysconfig:/config:z'
entrypoint: ['/code/scripts/generate_chn_sysconfig.py', '-o', '/config/chnserver.sysconfig', '-s', 'https://EXAMPLE.com', '-f']
mongodb:
image: stingar/mongodb:1.7
volumes:
- ./storage/mongodb:/var/lib/mongo:z
redis:
image: stingar/redis:1.7
volumes:
- ./storage/redis:/var/lib/redis:z
hpfeeds:
image: stingar/hpfeeds:1.7
links:
- mongodb:mongodb
ports:
- "10000:10000"
mnemosyne:
image: stingar/mnemosyne:1.7
links:
- mongodb:mongodb
- hpfeeds:hpfeeds
chnserver:
image: stingar/chn-server:1.7
depends_on:
- configure
volumes:
- ./config/collector:/etc/collector:z
- ./storage/chnserver/sqlite:/opt/sqlite:z
- ./config/sysconfig/chnserver.sysconfig:/etc/default/chnserver:z
- ./certs:/etc/letsencrypt:z
links:
- mongodb:mongodb
- redis:redis
- hpfeeds:hpfeeds
ports:
- "80:80"
- "443:443"