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

40 lines
777 B
YAML
Raw Normal View History

2022-05-25 19:46:17 +00:00
version: '3'
services:
woodpecker-server:
image: woodpeckerci/woodpecker-server:latest
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
2022-05-25 19:46:17 +00:00
env_file:
- .env
- .secret.env
networks:
local-net:
2022-09-10 11:30:53 +00:00
apps:
aliases:
- woodpecker
2022-05-25 19:46:17 +00:00
woodpecker-agent:
image: woodpeckerci/woodpecker-agent:latest
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
command: agent
2022-05-25 19:46:17 +00:00
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:
2022-09-10 11:30:53 +00:00
apps:
external: true