-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
docker-compose-test.yml
executable file
·82 lines (76 loc) · 1.4 KB
/
docker-compose-test.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
version: '3.1'
services:
honeypots:
build:
context: .
dockerfile: ./honeypots-Dockerfile
args:
PORTS: ${PORTS}
restart: always
cap_add:
- NET_ADMIN
depends_on:
- postgres
- syslog
networks:
- backend
- frontend
syslog:
build:
context: .
dockerfile: ./syslog-Dockerfile
command: /usr/sbin/syslog-ng -F -f /etc/syslog-ng/syslog-ng.conf
cap_add:
- NET_ADMIN
networks:
- backend
- frontend
node:
build:
context: .
dockerfile: ./node-Dockerfile
command: /app/testing.sh
cap_add:
- NET_ADMIN
depends_on:
- honeypots
- postgres
- syslog
networks:
- backend
- frontend
grafana:
build: ./grafana
container_name: grafana
command: ./import.sh
ports:
- '3000:3000'
links:
- postgres
depends_on:
- honeypots
networks:
- backend
- frontend
logging:
driver: none
postgres:
image: postgres:9.6
container_name: chameleon_postgres
restart: always
networks:
- backend
- frontend
command: -p 9999
ports:
- '9999:9999'
environment:
POSTGRES_USER: changeme027a088931d22
POSTGRES_PASSWORD: changeme0f40773877963
logging:
driver: none
networks:
frontend:
internal: false
backend:
internal: true