Refactor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-05 22:44:28 +02:00
parent 86e52be5e1
commit 5a8416fcdf
113 changed files with 456 additions and 649 deletions

View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=wkd

View File

@ -0,0 +1,15 @@
{
auto_https off
}
http://tobiasmanske.de {
header {
Access-Control-Allow-Origin *
}
respond /.well-known/openpgpkey/policy "" 200
uri strip_prefix /.well-known/openpgpkey/hu
root * /data/tobiasmanske.de/
file_server
}

View File

@ -0,0 +1,23 @@
---
version: "3.4"
services:
wkd:
image: caddy:2
labels:
- "traefik.enable=true"
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
- "traefik.http.routers.wkd.entryPoints=websecure"
- "traefik.http.routers.wkd.priority=100"
- "traefik.http.services.wkd.loadbalancer.server.port=80"
restart: always
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
- ./data:/data:ro,Z
networks:
- gateway
networks:
gateway:
external: true
...