2023-04-19 19:23:20 +09:00
|
|
|
name: keiunet
|
2021-07-18 19:35:25 +09:00
|
|
|
services:
|
|
|
|
https:
|
2024-01-30 20:54:56 +00:00
|
|
|
image: caddy:2.7.6-alpine@sha256:80ca561981768b2c3568cc4bef3d4cd1f11c2a625c806bedeb8453aef98779a0
|
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-08-16 05:29:33 +00:00
|
|
|
image: coredns/coredns:1.11.1@sha256:1eeb4c7316bacb1d4c8ead65571cd92dd21e27359f0d4917f1a5822a73b75db1
|
2021-08-18 19:26:59 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["443"]
|
2022-05-30 00:43:07 +09:00
|
|
|
ports:
|
|
|
|
- "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
|
2023-08-14 17:06:08 +09:00
|
|
|
- coredns_data:/var/lib/coredns
|
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
|
2023-08-14 17:06:08 +09:00
|
|
|
cron:
|
2024-01-30 20:54:47 +00:00
|
|
|
image: alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
|
2023-08-14 17:06:08 +09:00
|
|
|
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"]
|
2022-12-19 21:43:41 +09:00
|
|
|
gts:
|
2024-03-12 05:43:40 +00:00
|
|
|
image: superseriousbusiness/gotosocial:0.14.2@sha256:c3b5e1219f377d4f29fe2ec2202ea452c971319287aaa8a48b28ce57d768f448
|
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:
|
2023-08-14 17:06:08 +09:00
|
|
|
coredns_data:
|
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
|