forked from mitre/caldera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (31 loc) · 845 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (31 loc) · 845 Bytes
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
version: '3'
services:
db:
image: mongo
hostname: mongo
volumes:
- mongo:/data/db
command: 'mongod --bind_ip 0.0.0.0 --replSet caldera'
server:
build:
context: .
# If you are behind a proxy, you must set the
# proxy settings here (uncomment the next 3 lines)
# args:
# - "http_proxy=http://proxy.example:80"
# - "https_proxy=https://proxy.example:443"
depends_on:
- db
links:
- "db:mongo"
ports:
- "8888:8888"
- "8889:8889"
volumes:
- ./caldera/conf:/opt/caldera/caldera/conf
command:
# Override any configuration defaults here
- --database.host
- mongo
volumes:
mongo: