mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 16:08:01 +00:00
94 lines
2.6 KiB
YAML
94 lines
2.6 KiB
YAML
name: keiunet
|
|
services:
|
|
https:
|
|
image: caddy:2.7.2-alpine@sha256:fa4988bd8dc2df962ba39a1621de3d0aad2c725fbdec99f3ae81f704e818943e
|
|
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
|
|
dns:
|
|
image: coredns/coredns:1.11.0@sha256:cc3ebb05fbdba439d2d69813f162aa204b027098c8244fb3156e6e7c0f31c548
|
|
restart: unless-stopped
|
|
expose: ["443"]
|
|
ports:
|
|
- "853:853"
|
|
- "127.0.0.1:9153:9153"
|
|
volumes:
|
|
- ./etc/coredns:/etc/coredns
|
|
- coredns_data:/var/lib/coredns
|
|
command: "-conf /etc/coredns/Corefile"
|
|
networks:
|
|
- fogtype
|
|
cron:
|
|
image: alpine:3.18@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./etc/periodic:/etc/periodic:ro
|
|
- caddy_data:/var/lib/caddy/data:ro
|
|
- coredns_data:/var/lib/coredns
|
|
init: true
|
|
command: ["/usr/sbin/crond", "-f", "-L", "/dev/stdout"]
|
|
gts:
|
|
image: superseriousbusiness/gotosocial:0.10.0@sha256:1e901dae99ef5925b4b43108029a408b1ccf88027f295793f531295c74689fd3
|
|
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.0@sha256:fdcc500eac9b35e2eab5597921be3407075892831f24c01c009e83591dc3b020
|
|
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:0.23.0@sha256:a02592e70c12b77b7f3b99c142818f7636a44c97bfa38f678b8c9c3ae5f82895
|
|
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: headscale serve
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|
|
coredns_data:
|
|
gotosocial_data:
|
|
maddy_data:
|
|
headscale_data:
|
|
networks:
|
|
fogtype:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.30.0.0/24
|