39 lines
777 B
YAML
39 lines
777 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:
|
|
apps:
|
|
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:
|
|
apps:
|
|
external: true
|