version: '3' services: server: image: woodpeckerci/woodpecker-server:latest restart: always labels: com.centurylinklabs.watchtower.enable: true env_file: - .env - .secret.env networks: local-net: apps: aliases: - woodpecker agent: image: woodpeckerci/woodpecker-agent:latest restart: always labels: com.centurylinklabs.watchtower.enable: true command: agent env_file: - .env - .secret.env depends_on: - server volumes: - /var/run/docker.sock:/var/run/docker.sock networks: local-net: networks: local-net: apps: external: true