BrainDock/compose_tugtainer.yaml

30 lines
1.0 KiB
YAML

version: "3.9"
services:
tugtainer:
image: quenary/tugtainer:latest
container_name: tugtainer
restart: unless-stopped
ports:
- "9412:80"
environment:
TZ: Europe/Zurich
AGENT_SECRET: "A6sW9mP2vQk7Lx4Nf8Rb1HtY5Zj3Ec0DuVpGmK9XnJq7"
# SSRF-Protection für alle privaten Netzwerke
AGENT_ALLOW_NETWORKS: "172.16.0.0/12,192.168.0.0/16,10.0.0.0/8"
AGENT_ALLOW_ENDPOINTS: "http://tugtainer-agent:8001,http://172.16.1.205:9413,http://172.16.1.8:9413,http://172.16.1.165:9413"
depends_on:
- tugtainer-agent
volumes:
- /opt/tugtainer/data:/tugtainer
tugtainer-agent:
image: ghcr.io/quenary/tugtainer-agent:latest
container_name: tugtainer-agent
restart: unless-stopped
environment:
TZ: Europe/Zurich
AGENT_SECRET: "A6sW9mP2vQk7Lx4Nf8Rb1HtY5Zj3Ec0DuVpGmK9XnJq7"
DOCKER_HOST: unix:///var/run/docker.sock
AGENT_ALLOW_NETWORKS: "172.16.0.0/12,192.168.0.0/16,10.0.0.0/8"
volumes:
- /var/run/docker.sock:/var/run/docker.sock