mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 16:08:01 +00:00
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
services:
|
|
https:
|
|
image: caddy:2.6.2-alpine@sha256:25a0097607868fb05a89a5ab9fea2f2ea4cecdc89d887d7dcee8c778a21b9e1f
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443/udp"
|
|
- "443:443/tcp"
|
|
- "127.0.0.1:2019:2019"
|
|
volumes:
|
|
- ./etc/caddy:/etc/caddy
|
|
- ./srv:/srv
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
networks:
|
|
- keiu
|
|
- fogtype
|
|
dns:
|
|
image: coredns/coredns:1.10.0@sha256:017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955
|
|
restart: unless-stopped
|
|
expose: ["443"]
|
|
ports:
|
|
- "53:53/udp"
|
|
- "53:53/tcp"
|
|
- "853:853"
|
|
- "127.0.0.1:9153:9153"
|
|
volumes:
|
|
- ./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
|
|
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
|