-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (33 loc) · 924 Bytes
/
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
version: "3"
services:
# ... web etc go here
redshirt:
image: "jrabbit/redshirt:latest"
build: .
volumes:
- certs:/var/lib/taskd
- .:/usr/src/redshirt/
security_opt:
- no-new-privileges
env_file: .env
healthcheck:
test: curl -f http://localhost:4000/meta/health
interval: 1m30s
timeout: 10s
retries: 3
ports:
- 5000:4000
command: pipenv run gunicorn --reload --statsd-host=telegraf:8125 -b 0.0.0.0:4000 redshirt:app
taskd:
image: "jrabbit/taskd:latest"
ports:
- "53589:53589"
volumes:
- ./example/pki:/var/lib/taskd/pki
- certs:/var/lib/taskd
telegraf:
image: "telegraf"
volumes:
- ./example/telegraf.conf:/etc/telegraf/telegraf.conf:ro
volumes:
certs: {}