This commit is contained in:
parent
4cbbfa5648
commit
cf058dfaad
@ -24,3 +24,4 @@
|
|||||||
- {role: compose_project, service: caddy}
|
- {role: compose_project, service: caddy}
|
||||||
- {role: compose_project, service: diun}
|
- {role: compose_project, service: diun}
|
||||||
- {role: compose_project, service: watchtower}
|
- {role: compose_project, service: watchtower}
|
||||||
|
- {role: compose_project, service: wkd}
|
||||||
|
@ -6,7 +6,7 @@ services:
|
|||||||
image: registry.tobiasmanske.de/tobiasmanske.de:latest
|
image: registry.tobiasmanske.de/tobiasmanske.de:latest
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.tobiasmanskede.rule=(Host(`tobiasmanske.de`) || Host(`www.tobiasmanske.de`)) && !PathPrefix(`/{path:(_matrix|_synapse|.well-known/matrix|openpgpkey)}/`)"
|
- "traefik.http.routers.tobiasmanskede.rule=(Host(`tobiasmanske.de`) || Host(`www.tobiasmanske.de`)) && !PathPrefix(`/{path:(_matrix|_synapse|.well-known/matrix|.well-known/openpgpkey)}/`)"
|
||||||
- "traefik.http.routers.tobiasmanskede.entryPoints=websecure"
|
- "traefik.http.routers.tobiasmanskede.entryPoints=websecure"
|
||||||
- "traefik.http.services.tobiasmanskede.loadbalancer.server.port=80"
|
- "traefik.http.services.tobiasmanskede.loadbalancer.server.port=80"
|
||||||
restart: always
|
restart: always
|
||||||
|
13
coreos-config/roles/compose_project/templates/wkd/Caddyfile
Normal file
13
coreos-config/roles/compose_project/templates/wkd/Caddyfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
auto_https off
|
||||||
|
}
|
||||||
|
|
||||||
|
http://tobiasmanske.de {
|
||||||
|
header {
|
||||||
|
Access-Control-Allow-Origin *
|
||||||
|
}
|
||||||
|
|
||||||
|
uri strip_prefix /.well-known/openpgpkey/hu
|
||||||
|
root * /data/tobiasmanske.de/
|
||||||
|
file_server
|
||||||
|
}
|
@ -1,13 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mDMEZB8uOxYJKwYBBAHaRw8BAQdAc29ugqSUSoDvIKuQSdXr6GiItT97VW/pCc3J
|
|
||||||
0rmyX4+0P1RvYmlhcyBNYW5za2UgKFBhY2thZ2UgU2lnbmluZyBLZXkpIDxhcmNo
|
|
||||||
LXJlcG9AdG9iaWFzbWFuc2tlLmRlPoicBBMWCgBEAhsDBQkB4TOABQsJCAcCAiIC
|
|
||||||
BhUKCQgLAgQWAgMBAh4HAheAFiEEw/6Hz7j41QOuA+wcAz5/Pccf6J4FAmQfL34C
|
|
||||||
GQEACgkQAz5/Pccf6J62ZQD/YaMgOsMgzzViV4j/lSNHtTluGD0jBjf6LVs9+ogT
|
|
||||||
1SQBAPgOjnvETqyna+zS8aChNxKh8ySLHivOpVo/VAOeqtsKiHUEEBYKAB0WIQQQ
|
|
||||||
vga8J1zg4XNzs2j2eZbEhtG1awUCZB9D5AAKCRD2eZbEhtG1a9p7AP41mVjx4eiE
|
|
||||||
CVK7m8jVr65c0b7xQ4beljFNlKB07wHpIgD9H66ESwroqboqpgG6lneSHbpDDDsK
|
|
||||||
aUtSZdD3dA074Ao=
|
|
||||||
=Djjb
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -1,59 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mG8EZB6UmRMFK4EEACIDAwSarg3VOM7ytrHzDGKLDDdr0Ik8e36nPazCdOSXLyZ9
|
|
||||||
8g9/3oq7aYXfpoStJ4PvU8pyjVW3cPniKlOFCChpIHO/t3xkTVWRdv5UCJQMFtDS
|
|
||||||
n2WeGKMm7kSfMx7nDuoEfXO0J1RvYmlhcyBNYW5za2UgPGNvbnRhY3RAdG9iaWFz
|
|
||||||
bWFuc2tlLmRlPoi5BBMTCQBBFiEEURlRsEymNIc3qqdjROqD4gE8w5oFAmQelccC
|
|
||||||
GwMFCQPCZwAFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQROqD4gE8w5pg
|
|
||||||
TgGA+9E7PxckQxun/mX3D96zfUemVskgksTUuqCfYpmaeX5DWN7fDW6bm/8Iju5f
|
|
||||||
Bqt2AX93lwnwI06tM+5/cp6OA793Jy0C8O1QEmB6oCT6uoPUOLge7vKhlwKmXiml
|
|
||||||
msh4d1WJAjMEEAEIAB0WIQQCAjcBfScdTiNE2PP/V3ULgwqjoQUCZB6WngAKCRD/
|
|
||||||
V3ULgwqjoc8nD/9rxllj+8t/z+nSCVfraSQMOJ9b420156hYnOJwAzW/ktga+dW0
|
|
||||||
xmAjOunBB+RuUKK3mQ7jdvdVnw90tawezNS6quHeamilsCME2qb8U7jIO1/Qs5V5
|
|
||||||
IrL+aAuzVPFZszNHnAnSD4cKpV25ktC+0/b1w5o7/jIJUIo8cC/p0V9rTTnyOLcI
|
|
||||||
AlB68pFl/iiS22ZZ1W+FKZySBzHSLjD1/X5W/2HP/mX3De4diRFixrnvjfkQz4T1
|
|
||||||
Brw/8KdtHHWvzs3/KQLxEz4hIWNN/8dfKa4OTEqrwI1U8SZSt+lC71uzsnF7XXfT
|
|
||||||
9YGeRgTk/OMJvktPnLu6qwWirIzIk0FwRfnSc4IKyEc6SbT/iIDQg5iKA7a3UmSa
|
|
||||||
HIqSa2QpwKqi1OIr//IYy1/sFgwnPjh9Udqs5nPDaH6hFGC2kEfxGofr/AqOPZum
|
|
||||||
KLNxiA1cijEcusjt76huqyYhnzfkCYIBhTHUEh7yJrZ4vkNqoq795h/fW8+gZFbF
|
|
||||||
h4JauBklcg42A6o2tKNJ5MDd6bdNOJL9aNISEh9i5HR9EjxnNl1mnVHt2q4reaAB
|
|
||||||
ISLfl7i+oIiJS8Ma5JrfGd3964utNicGXg/SoC+2oUd33BEUE80TJyjZOCVwBcDG
|
|
||||||
0XCuV500WYkXqBworTbxGBf0SDssfCwC9tzaai+QnpIS7Pgyih2+TlH/ebQpVG9i
|
|
||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
|
|
||||||
qqdjROqD4gE8w5oFAmQelT4CGyIFCQPCZwAAoQkQROqD4gE8w5qWIAQZEwkAHRYh
|
|
||||||
BBsb4agcwfopi+NySZFktSdpSgcJBQJkHpU+AAoJEJFktSdpSgcJkEsBgM/AHpy3
|
|
||||||
LhovMHRkeaIvkEy/snvRpkHyGGFtGJ6En6JOd6L/Q7hC+dbUDr7/dMWZegF8DqzL
|
|
||||||
/5rN2Hsn8G9ig0F7h5D2IDXnz2iwRYZr2c0D7WYHHQcVVHhsvRuJ0F1LheEBwrQB
|
|
||||||
fjVd6KqdDbLbQAAvEb+a5jRjcgTXIeUs1+UK7FPWU4k9Ok3+yBQDAtGYN81nUGFa
|
|
||||||
2gGAzEm6i9yj6ErPtC2V/6bVTh0c4tJX9cGbKTf2Fg1zc/LGDFEs1u52PdHRk5Pq
|
|
||||||
60j1
|
|
||||||
=OJpp
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
Binary file not shown.
Binary file not shown.
@ -3,16 +3,16 @@ version: "3.4"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
wkd:
|
wkd:
|
||||||
image: drgrove/wkd
|
image: caddy:2
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
|
- "traefik.http.routers.wkd.rule=(Host(`tobiasmanske.de`) && PathPrefix(`/{path:.well-known/openpgpkey}/`))"
|
||||||
- "traefik.http.routers.wkd.entryPoints=websecure"
|
- "traefik.http.routers.wkd.entryPoints=websecure"
|
||||||
|
- "traefik.http.routers.wkd.priority=100"
|
||||||
- "traefik.http.services.wkd.loadbalancer.server.port=80"
|
- "traefik.http.services.wkd.loadbalancer.server.port=80"
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
|
||||||
MAIL_DOMAIN: tobiasmanske.de
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
|
||||||
- ./data:/data:ro,Z
|
- ./data:/data:ro,Z
|
||||||
networks:
|
networks:
|
||||||
- gateway
|
- gateway
|
||||||
|
Loading…
Reference in New Issue
Block a user