1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 08:05:02 +00:00
This commit is contained in:
Nebel 2023-08-14 17:06:08 +09:00
parent 13875b4efd
commit 85333dde94
Signed by: nebel
GPG key ID: 79807D08C6EF6460
3 changed files with 19 additions and 2 deletions

View file

@ -24,10 +24,19 @@ services:
- "127.0.0.1:9153:9153"
volumes:
- ./etc/coredns:/etc/coredns
- caddy_data:/var/lib/caddy/data
- coredns_data:/var/lib/coredns
command: "-conf /etc/coredns/Corefile"
networks:
- fogtype
cron:
image: alpine:3.18@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
restart: unless-stopped
volumes:
- ./etc/periodic:/etc/periodic:ro
- caddy_data:/var/lib/caddy/data:ro
- coredns_data:/var/lib/coredns
init: true
command: ["/usr/sbin/crond", "-f", "-L", "/dev/stdout"]
gts:
image: superseriousbusiness/gotosocial:0.10.0@sha256:1e901dae99ef5925b4b43108029a408b1ccf88027f295793f531295c74689fd3
restart: unless-stopped
@ -73,6 +82,7 @@ services:
volumes:
caddy_data:
caddy_config:
coredns_data:
gotosocial_data:
maddy_data:
headscale_data:

View file

@ -1,5 +1,5 @@
https://. tls://. {
tls /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.crt /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.key
tls /var/lib/coredns/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.crt /var/lib/coredns/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.key
reload
prometheus 0.0.0.0:9153
cache 10

View file

@ -0,0 +1,7 @@
#!/bin/sh
set -eu
install \
-D \
-m 644 \
-t /var/lib/coredns/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/ \
/var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.*