mirror of
https://github.com/kou029w/fogtype.com
synced 2025-03-03 21:15:16 +00:00
Compare commits
No commits in common. "1e5532c69897dce04cb637680b0c915ecc80a65b" and "f3cca0959867d33b699b7e17985943188373f1be" have entirely different histories.
1e5532c698
...
f3cca09598
4 changed files with 6 additions and 35 deletions
26
compose.yml
26
compose.yml
|
@ -12,9 +12,6 @@ services:
|
|||
- ./srv:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
- keiu
|
||||
- fogtype
|
||||
dns:
|
||||
image: coredns/coredns:1.10.0@sha256:017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955
|
||||
restart: unless-stopped
|
||||
|
@ -28,29 +25,6 @@ services:
|
|||
- ./etc/coredns:/etc/coredns
|
||||
- caddy_data:/var/lib/caddy/data
|
||||
command: "-conf /etc/coredns/Corefile"
|
||||
networks:
|
||||
- keiu
|
||||
gts:
|
||||
image: superseriousbusiness/gotosocial:0.6.0@sha256:c3dbefe684529c7f97eb7d221f64bd9d14bd9c94e6543e6a8afe5a3469a9d77e
|
||||
restart: unless-stopped
|
||||
expose: ["8080"]
|
||||
environment:
|
||||
GTS_HOST: fogtype.com
|
||||
GTS_TRUSTED_PROXIES: 172.30.0.0/24
|
||||
volumes:
|
||||
- ./etc/gotosocial:/etc/gotosocial
|
||||
- gotosocial_data:/gotosocial
|
||||
command: "--config-path /etc/gotosocial/config.yaml"
|
||||
networks:
|
||||
- fogtype
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
gotosocial_data:
|
||||
networks:
|
||||
keiu:
|
||||
fogtype:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.30.0.0/24
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{
|
||||
admin 0.0.0.0:2019
|
||||
acme_ca https://acme.zerossl.com/v2/DV90
|
||||
email kou029w@gmail.com
|
||||
}
|
||||
keiu.net {
|
||||
file_server
|
||||
reverse_proxy /dns-query https://dns {
|
||||
|
@ -9,9 +14,3 @@ keiu.net {
|
|||
www.keiu.net {
|
||||
redir https://keiu.net{uri} 308
|
||||
}
|
||||
fogtype.com {
|
||||
reverse_proxy http://gts:8080
|
||||
}
|
||||
www.fogtype.com {
|
||||
redir https://fogtype.com{uri} 308
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
https://. tls://. . {
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/keiu.net/keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/keiu.net/keiu.net.key
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/keiu.net/keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/keiu.net/keiu.net.key
|
||||
reload
|
||||
prometheus 0.0.0.0:9153
|
||||
hosts {
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
db-type: sqlite
|
||||
db-address: sqlite.db
|
Loading…
Add table
Reference in a new issue