2021-07-18 19:35:25 +09:00
|
|
|
services:
|
|
|
|
https:
|
2023-02-15 19:33:00 +00:00
|
|
|
image: caddy:2.6.4-alpine@sha256:634887c995d5b341007e3627f01c534a5b82733a5a959269e990551cad82538a
|
2021-07-18 19:35:25 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
2022-09-21 09:34:49 +09:00
|
|
|
- "443:443/udp"
|
|
|
|
- "443:443/tcp"
|
2022-05-30 00:37:26 +09:00
|
|
|
- "127.0.0.1:2019:2019"
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
- ./etc/caddy:/etc/caddy
|
2023-02-09 11:42:37 +09:00
|
|
|
- ./srv:/srv
|
2021-07-18 19:35:25 +09:00
|
|
|
- caddy_data:/data
|
|
|
|
- caddy_config:/config
|
2022-12-19 21:43:41 +09:00
|
|
|
networks:
|
|
|
|
- fogtype
|
2022-09-04 19:17:36 +09:00
|
|
|
dns:
|
2023-02-06 23:37:33 +00:00
|
|
|
image: coredns/coredns:1.10.1@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e
|
2021-08-18 19:26:59 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["443"]
|
2022-05-30 00:43:07 +09:00
|
|
|
ports:
|
2022-06-10 23:05:40 +09:00
|
|
|
- "53:53/udp"
|
|
|
|
- "53:53/tcp"
|
2022-05-30 00:43:07 +09:00
|
|
|
- "853:853"
|
|
|
|
- "127.0.0.1:9153:9153"
|
2021-08-18 19:26:59 +09:00
|
|
|
volumes:
|
2021-08-18 23:58:07 +09:00
|
|
|
- ./etc/coredns:/etc/coredns
|
2021-08-18 19:26:59 +09:00
|
|
|
- caddy_data:/var/lib/caddy/data
|
2021-08-18 23:58:07 +09:00
|
|
|
command: "-conf /etc/coredns/Corefile"
|
2022-12-19 21:43:41 +09:00
|
|
|
networks:
|
2022-12-25 15:19:12 +09:00
|
|
|
- fogtype
|
2022-12-19 21:43:41 +09:00
|
|
|
gts:
|
2022-12-19 15:38:53 +00:00
|
|
|
image: superseriousbusiness/gotosocial:0.6.0@sha256:c3dbefe684529c7f97eb7d221f64bd9d14bd9c94e6543e6a8afe5a3469a9d77e
|
2022-12-19 21:43:41 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["8080"]
|
|
|
|
environment:
|
|
|
|
GTS_HOST: fogtype.com
|
|
|
|
GTS_TRUSTED_PROXIES: 172.30.0.0/24
|
|
|
|
volumes:
|
2022-12-24 19:45:25 +09:00
|
|
|
- /usr/share/zoneinfo/Asia/Tokyo:/etc/localtime:ro
|
2022-12-19 21:43:41 +09:00
|
|
|
- ./etc/gotosocial:/etc/gotosocial
|
2022-12-19 22:31:35 +09:00
|
|
|
- gotosocial_data:/gotosocial
|
2022-12-19 21:43:41 +09:00
|
|
|
command: "--config-path /etc/gotosocial/config.yaml"
|
|
|
|
networks:
|
|
|
|
- fogtype
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
caddy_data:
|
|
|
|
caddy_config:
|
2022-12-19 21:43:41 +09:00
|
|
|
gotosocial_data:
|
|
|
|
networks:
|
|
|
|
fogtype:
|
|
|
|
ipam:
|
2023-02-09 11:42:37 +09:00
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 172.30.0.0/24
|