mirror of
https://github.com/kou029w/fogtype.com
synced 2025-02-25 18:15:19 +00:00
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: fogtype
|
|
services:
|
|
https:
|
|
image: caddy:2.9.1-alpine@sha256:c77f60a2bebb3916b17f73d892962a407271b198d1ac0f9c332ca7f59ed9f11b
|
|
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.4@sha256:c8e8d722b3ed8546a4af9c81edff1537d8ed7e35cc8d09e07cbf6bd4aa94e4a4
|
|
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.8.1@sha256:55636d8a29588eea62d81d51acdafe38e0f694fb91801ab12dc1ed8c47b6439d
|
|
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.25.0@sha256:97febecbe6cb92b956096ec51b9da60f670df5d0bc46f7ccd86d015c95efaf16
|
|
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
|