mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: fogtype
|
|
services:
|
|
https:
|
|
image: caddy:2.8.4-alpine@sha256:af32e97399febea808609119bb21544d0265c58a02836576e32a2d082c262c17
|
|
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:
|
|
- fogtype
|
|
gts:
|
|
image: superseriousbusiness/gotosocial:0.17.3@sha256:20b4d033dee4764104afc82eff5168d7fa29080ff8c99fbe7418a54b01a50591
|
|
restart: unless-stopped
|
|
expose: ["8080"]
|
|
environment:
|
|
GTS_HOST: fogtype.com
|
|
GTS_DB_TYPE: sqlite
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
|
GTS_TRUSTED_PROXIES: 172.30.0.0/24
|
|
volumes:
|
|
- /usr/share/zoneinfo/Asia/Tokyo:/etc/localtime:ro
|
|
- ./etc/gotosocial:/etc/gotosocial
|
|
- gotosocial_data:/gotosocial/storage
|
|
command: "--config-path /etc/gotosocial/config.yaml"
|
|
networks:
|
|
- fogtype
|
|
maddy:
|
|
image: foxcpp/maddy:0.7.1@sha256:6ab538e2f28baf2324f7cb418c7f9476fd9c7e9fa9b14bc3aecf51a9f6962064
|
|
restart: unless-stopped
|
|
ports:
|
|
- "25:25"
|
|
- "465:465"
|
|
- "993:993"
|
|
environment:
|
|
MADDY_HOSTNAME: fogtype.com
|
|
MADDY_DOMAIN: fogtype.com
|
|
volumes:
|
|
- ./etc/maddy:/etc/maddy
|
|
- caddy_data:/var/lib/caddy/data:ro
|
|
- maddy_data:/data
|
|
headscale:
|
|
image: headscale/headscale:v0.23.0@sha256:ffe793968ef6fbec78a8d095893fe03112e6a74231afe366eb504fbc822afea6
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3478:3478/udp"
|
|
- "127.0.0.1:9200:9200"
|
|
volumes:
|
|
- ./etc/headscale:/etc/headscale
|
|
- headscale_data:/var/lib/headscale
|
|
networks:
|
|
- fogtype
|
|
command: serve
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|
|
gotosocial_data:
|
|
maddy_data:
|
|
headscale_data:
|
|
networks:
|
|
fogtype:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.30.0.0/24
|