General deployment #1
3 changed files with 10 additions and 9 deletions
|
@ -51,9 +51,8 @@ REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
||||||
PATH = /data/gitea/attachments
|
PATH = /data/gitea/attachments
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
MODE = console
|
logger.router.MODE = console
|
||||||
LEVEL = info
|
LEVEL = info
|
||||||
ROUTER = console
|
|
||||||
ROOT_PATH = /data/gitea/log
|
ROOT_PATH = /data/gitea/log
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
|
|
|
@ -108,18 +108,18 @@ md.{$BASE_DOMAIN} {
|
||||||
reverse_proxy hedgedoc:3000
|
reverse_proxy hedgedoc:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ci.{$BASE_DOMAIN} {
|
||||||
|
import logging
|
||||||
|
import errorpages
|
||||||
|
reverse_proxy woodpecker:8000
|
||||||
|
}
|
||||||
|
|
||||||
# echo.{$BASE_DOMAIN} {
|
# echo.{$BASE_DOMAIN} {
|
||||||
# import logging
|
# import logging
|
||||||
# import errorpages
|
# import errorpages
|
||||||
# reverse_proxy echo:8000
|
# reverse_proxy echo:8000
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# ci.{$BASE_DOMAIN} {
|
|
||||||
# import logging
|
|
||||||
# import errorpages
|
|
||||||
# reverse_proxy woodpecker:8000
|
|
||||||
# }
|
|
||||||
|
|
||||||
# passwords.{$BASE_DOMAIN} {
|
# passwords.{$BASE_DOMAIN} {
|
||||||
# import logging
|
# import logging
|
||||||
# import errorpages
|
# import errorpages
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '3.7'
|
||||||
# https://hub.docker.com/r/woodpeckerci/woodpecker-server/
|
# https://hub.docker.com/r/woodpeckerci/woodpecker-server/
|
||||||
# https://woodpecker-ci.org/docs/administration/setup
|
# https://woodpecker-ci.org/docs/administration/setup
|
||||||
# https://woodpecker-ci.org/docs/administration/server-config
|
# https://woodpecker-ci.org/docs/administration/server-config
|
||||||
# https://woodpecker-ci.org/docs/administration/vcs/gitea
|
# https://woodpecker-ci.org/docs/administration/forges/gitea
|
||||||
|
|
||||||
# auth callback /authorize
|
# auth callback /authorize
|
||||||
|
|
||||||
|
@ -45,6 +45,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- WOODPECKER_SERVER=woodpecker:9000
|
- WOODPECKER_SERVER=woodpecker:9000
|
||||||
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||||
|
|
||||||
|
- WOODPECKER_BACKEND_DOCKER_VOLUMES=/etc/timezone:/etc/timezone
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue