mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
fogtype.com
This commit is contained in:
parent
f3cca09598
commit
34973be9cc
3 changed files with 34 additions and 0 deletions
26
compose.yml
26
compose.yml
|
@ -12,6 +12,9 @@ services:
|
|||
- ./srv:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
- keiu
|
||||
- fogtype
|
||||
dns:
|
||||
image: coredns/coredns:1.10.0@sha256:017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955
|
||||
restart: unless-stopped
|
||||
|
@ -25,6 +28,29 @@ 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
|
||||
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/storage
|
||||
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
|
||||
|
|
|
@ -14,3 +14,9 @@ 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
|
||||
}
|
||||
|
|
2
etc/gotosocial/config.yaml
Normal file
2
etc/gotosocial/config.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
db-type: sqlite
|
||||
db-address: sqlite.db
|
Loading…
Add table
Reference in a new issue