Files
kwaylon/docker-compose.yml
2023-10-08 20:54:00 -05:00

27 lines
656 B
YAML

version: '3.3'
services:
kwaylon:
container_name: kwaylon
image: kwaylon:latest
build:
context: ./
restart: unless-stopped
tty: true
stdin_open: true
volumes:
# give access to the system time as read-only
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./:/kwaylon
telegraf:
image: telegraf
container_name: telegraf-kwaylon
restart: unless-stopped
user: root:996
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- src/.env
command: ["--config", "http://docker-lxc.localdomain:8086/api/v2/telegrafs/0bf0754463950000"]