27 lines
656 B
YAML
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"]
|