-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-compose.yml
More file actions
38 lines (38 loc) · 1002 Bytes
/
Copy pathdev-compose.yml
File metadata and controls
38 lines (38 loc) · 1002 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
33
34
35
36
37
38
services:
tcpy-tarpit:
image: tcpy-tarpit
build:
context: .
dockerfile: ./Dockerfile
container_name: tcpy-tarpit
restart: unless-stopped
ports:
- "8080:8080"
- "8081:8081"
environment:
- TZ=America/New_York
- MODE=flood
grafana:
image: grafana/grafana
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./grafana:/var/lib/grafana
prometheus:
image: prom/prometheus
container_name: prometheus
restart: unless-stopped
ports:
- "9090:9090"
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=45d
- --web.console.libraries=/usr/share/prometheus/console_libraries
- --web.console.templates=/usr/share/prometheus/consoles
- --web.enable-admin-api
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus:/prometheus