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