diff --git a/docker-compose/woodpecker.yaml b/docker-compose/woodpecker.yaml index f854c85..b5afecf 100644 --- a/docker-compose/woodpecker.yaml +++ b/docker-compose/woodpecker.yaml @@ -5,10 +5,11 @@ services: image: woodpeckerci/woodpecker-server:latest ports: - 8000:8000 - - 1800:80 - - 4333:433 volumes: - woodpecker-server-data:/var/lib/woodpecker/ + - ${WOODPECKER_SSL_CRT}:${WOODPECKER_SSL_CRT} + - ${WOODPECKER_SSL_KEY}:${WOODPECKER_SSL_KEY} + environment: - WOODPECKER_OPEN=true - WOODPECKER_HOST=${WOODPECKER_HOST} @@ -17,7 +18,8 @@ services: - WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT} - WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET} - WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET} - - WOODPECKER_LETS_ENCRYPT=true + - WOODPECKER_SERVER_CERT=${WOODPECKER_SSL_CRT} + - WOODPECKER_SERVER_KEY=${WOODPECKER_SSL_KEY} woodpecker-agent: image: woodpeckerci/woodpecker-agent:latest