Skip to content

Instantly share code, notes, and snippets.

@i40sys
Created March 1, 2022 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i40sys/d2a237cc5ac4025b201d47561556ecac to your computer and use it in GitHub Desktop.
Save i40sys/d2a237cc5ac4025b201d47561556ecac to your computer and use it in GitHub Desktop.
version: '3.8'
services:
influx1:
container_name: influx1
image: influxdb:1.8
restart: unless-stopped
environment:
- TZ="Europe/Madrid"
volumes:
- /data/influx1:/var/lib/influxdb
- ./etc/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- ./backup:/backup
- /etc/localtime:/etc/localtime:ro
command: -config /etc/influxdb/influxdb.conf
networks:
- i40sys
networks:
i40sys:
external:
name: i40sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment