2024-01-03 08:00:05 +00:00
|
|
|
version: "3"
|
2024-01-03 07:25:17 +00:00
|
|
|
|
|
|
|
services:
|
2024-01-03 08:00:05 +00:00
|
|
|
tracker:
|
|
|
|
restart: always
|
2024-01-03 08:34:40 +00:00
|
|
|
image: fascinated/mc-tracker:latest
|
2024-01-03 08:00:05 +00:00
|
|
|
volumes:
|
|
|
|
- ./data:/usr/src/app/data
|
|
|
|
|
2024-01-03 20:56:40 +00:00
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:latest
|
|
|
|
environment:
|
|
|
|
- GF_ANALYTICS_REPORTING_ENABLED=false
|
|
|
|
- GF_SERVER_DOMAIN=mc-tracker.fascinated.cc
|
|
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
|
|
|
- /home/grafana/data:/var/lib/grafana
|
|
|
|
restart: always
|
|
|
|
|
2024-01-03 08:00:05 +00:00
|
|
|
influxdb:
|
|
|
|
image: influxdb:latest
|
|
|
|
container_name: influxdb
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "8086:8086"
|
|
|
|
volumes:
|
|
|
|
- ./influx/config:/etc/influxdb2
|
|
|
|
- ./influx/db:/var/lib/influxdb2
|