This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/woodpecker/docker-compose.yml

39 lines
785 B
YAML

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