2023-04-19 19:23:20 +09:00
|
|
|
name: keiunet
|
2021-07-18 19:35:25 +09:00
|
|
|
services:
|
|
|
|
https:
|
2024-06-22 17:36:43 +00:00
|
|
|
image: caddy:2.8.4-alpine@sha256:896c6fb9e3eae11890f53dc528b8a9be1b4d058f6b7603024feb084fc203c0b4
|
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
|
|
|
|
gts:
|
2024-06-17 02:03:47 +00:00
|
|
|
image: superseriousbusiness/gotosocial:0.16.0@sha256:54c0e2833f426b810861d8bc7b5633ca8119f2fa234a4ddaeb422519c04fca97
|
2022-12-19 21:43:41 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["8080"]
|
|
|
|
environment:
|
|
|
|
GTS_HOST: fogtype.com
|
2023-02-17 21:28:14 +09:00
|
|
|
GTS_DB_TYPE: sqlite
|
|
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
2022-12-19 21:43:41 +09:00
|
|
|
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
|
2023-02-17 21:28:14 +09:00
|
|
|
- gotosocial_data:/gotosocial/storage
|
2022-12-19 21:43:41 +09:00
|
|
|
command: "--config-path /etc/gotosocial/config.yaml"
|
|
|
|
networks:
|
|
|
|
- fogtype
|
2023-05-04 16:21:56 +09:00
|
|
|
maddy:
|
2024-01-24 15:00:40 +00:00
|
|
|
image: foxcpp/maddy:0.7.1@sha256:6ab538e2f28baf2324f7cb418c7f9476fd9c7e9fa9b14bc3aecf51a9f6962064
|
2023-05-04 16:21:56 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "465:465"
|
|
|
|
- "993:993"
|
2023-04-19 19:17:57 +09:00
|
|
|
environment:
|
2023-05-04 16:21:56 +09:00
|
|
|
MADDY_HOSTNAME: fogtype.com
|
|
|
|
MADDY_DOMAIN: fogtype.com
|
2023-04-19 19:17:57 +09:00
|
|
|
volumes:
|
2023-05-04 17:36:10 +09:00
|
|
|
- ./etc/maddy:/etc/maddy
|
2023-04-19 19:17:57 +09:00
|
|
|
- caddy_data:/var/lib/caddy/data:ro
|
2023-05-04 16:21:56 +09:00
|
|
|
- maddy_data:/data
|
2023-05-04 22:54:13 +09:00
|
|
|
headscale:
|
2024-02-17 12:30:15 +09:00
|
|
|
image: headscale/headscale:0.22.3
|
2023-05-04 22:54:13 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2023-05-06 08:53:55 +09:00
|
|
|
- "3478:3478/udp"
|
2023-05-04 22:54:13 +09:00
|
|
|
- "127.0.0.1:9200:9200"
|
|
|
|
volumes:
|
|
|
|
- ./etc/headscale:/etc/headscale
|
|
|
|
- headscale_data:/var/lib/headscale
|
|
|
|
networks:
|
|
|
|
- fogtype
|
|
|
|
command: headscale serve
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
caddy_data:
|
|
|
|
caddy_config:
|
2022-12-19 21:43:41 +09:00
|
|
|
gotosocial_data:
|
2023-05-04 16:21:56 +09:00
|
|
|
maddy_data:
|
2023-05-04 22:54:13 +09:00
|
|
|
headscale_data:
|
2022-12-19 21:43:41 +09:00
|
|
|
networks:
|
|
|
|
fogtype:
|
|
|
|
ipam:
|
2023-02-09 11:42:37 +09:00
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 172.30.0.0/24
|