23 lines
439 B
YAML
23 lines
439 B
YAML
version: "3"
|
|
|
|
services:
|
|
tracker:
|
|
restart: always
|
|
image: fascinated/mc-tracker-backend:influx
|
|
volumes:
|
|
- ./data:/usr/src/app/data
|
|
|
|
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
|