1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 16:08:01 +00:00
fogtype.com/compose.yml

95 lines
2.6 KiB
YAML
Raw Normal View History

2023-04-19 19:23:20 +09:00
name: keiunet
2021-07-18 19:35:25 +09:00
services:
https:
2023-12-10 02:10:52 +00:00
image: caddy:2.7.6-alpine@sha256:eabac2898cf9fc7dc94d3fb03ac84c9c923aa6cc6f04874937d2f525e0d2f006
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
- ./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:
image: coredns/coredns:1.11.1@sha256:1eeb4c7316bacb1d4c8ead65571cd92dd21e27359f0d4917f1a5822a73b75db1
2021-08-18 19:26:59 +09:00
restart: unless-stopped
expose: ["443"]
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:
2023-12-08 02:54:25 +00:00
image: alpine:3.19@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
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:
image: superseriousbusiness/gotosocial:0.13.1@sha256:baea2874480ebf6df279b5565605e08a8680753fa01b914abc500125a290077a
2022-12-19 21:43:41 +09:00
restart: unless-stopped
expose: ["8080"]
environment:
GTS_HOST: fogtype.com
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
- 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:
image: foxcpp/maddy:0.7.0@sha256:fdcc500eac9b35e2eab5597921be3407075892831f24c01c009e83591dc3b020
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:
image: headscale/headscale:0.23.0@sha256:a02592e70c12b77b7f3b99c142818f7636a44c97bfa38f678b8c9c3ae5f82895
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:
driver: default
config:
- subnet: 172.30.0.0/24