update compose file
All checks were successful
Publish Docker Image / docker (push) Successful in 43s

This commit is contained in:
Lee 2024-01-03 08:00:05 +00:00
parent 9c6966f180
commit 56a75560e8

@ -1,5 +1,22 @@
version: "3.4" version: "3"
services: services:
backend: tracker:
restart: always
image: fascinated/mc-tracker-backend:influx 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