Add configuration files for Woodpecker CI and new compose (WIP)
This commit is contained in:
parent
205138871c
commit
1967d772f9
11
.woodpecker/publish.yaml
Normal file
11
.woodpecker/publish.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: hugomods/hugo:base-non-root-0.145.0
|
||||
commands:
|
||||
- build
|
||||
volumes:
|
||||
- public:/site
|
27
compose-new.yaml
Normal file
27
compose-new.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
services:
|
||||
site:
|
||||
image: hugomods/hugo:nginx-1.27.4
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- public:/site
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.apex_wiki_cafe.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.apex_wiki_cafe.rule=Host(`wiki.cafe`)"
|
||||
- "traefik.http.routers.apex_wiki_cafe.entrypoints=web-secure"
|
||||
- "traefik.http.routers.apex_wiki_cafe.tls.certresolver=production"
|
||||
- "caddy=https://wiki.cafe"
|
||||
- "caddy.reverse_proxy={{upstreams 80}}"
|
||||
- "caddy.tls.on_demand="
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
public:
|
Loading…
x
Reference in New Issue
Block a user