2023-04-19 19:23:20 +09:00
|
|
|
name: keiunet
|
2021-07-18 19:35:25 +09:00
|
|
|
services:
|
|
|
|
https:
|
2023-03-30 06:52:07 +00:00
|
|
|
image: caddy:2.6.4-alpine@sha256:eefd3d61e9ee8f35e046f614982d9a970006e3943c6e5f09957a4048f4c80d35
|
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
|
2023-04-19 19:17:57 +09:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2022-09-04 19:17:36 +09:00
|
|
|
dns:
|
2023-02-06 23:37:33 +00:00
|
|
|
image: coredns/coredns:1.10.1@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e
|
2021-08-18 19:26:59 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["443"]
|
2022-05-30 00:43:07 +09:00
|
|
|
ports:
|
2022-06-10 23:05:40 +09:00
|
|
|
- "53:53/udp"
|
|
|
|
- "53:53/tcp"
|
2022-05-30 00:43:07 +09:00
|
|
|
- "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
|
2021-08-18 19:26:59 +09:00
|
|
|
- caddy_data:/var/lib/caddy/data
|
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
|
2022-12-19 21:43:41 +09:00
|
|
|
gts:
|
2023-04-19 16:52:46 +00:00
|
|
|
image: superseriousbusiness/gotosocial:0.8.1@sha256:074c70e3af44289af590dc663015c43b9c789d476d9e00c3565678f179e82e04
|
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-03-19 13:59:36 +09:00
|
|
|
vikunja-api:
|
2023-03-19 07:59:00 +00:00
|
|
|
image: vikunja/api:0.20.4@sha256:0f8e00f99120ac677de0764b054e4402f7046077004ff5e26f9146adfaf8b0af
|
2023-03-19 13:59:36 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
VIKUNJA_SERVICE_FRONTENDURL: https://task.fogtype.com/
|
|
|
|
VIKUNJA_SERVICE_ENABLEREGISTRATION: "false"
|
|
|
|
VIKUNJA_DATABASE_TYPE: sqlite
|
|
|
|
VIKUNJA_DATABASE_PATH: files/vikunja.db
|
|
|
|
volumes:
|
|
|
|
- "vikunja_data:/app/vikunja/files"
|
|
|
|
networks:
|
|
|
|
- fogtype
|
|
|
|
vikunja-frontend:
|
2023-03-19 07:59:00 +00:00
|
|
|
image: vikunja/frontend:0.20.5@sha256:5aad76d28c5dd8f5f5f4e6d5ba3459138676d37e5f79747f53ce64a52ba78b56
|
2023-03-19 13:59:36 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- fogtype
|
2023-04-19 19:17:57 +09:00
|
|
|
mox:
|
2023-04-22 21:27:21 +09:00
|
|
|
image: r.xmox.nl/mox:v0.0.3-go1.20.3-alpine3.17.3@sha256:12f8a485d8a19cb31625da84d685897acf49568241d350fc6a0dc5e68dbc3cab
|
2023-04-19 19:17:57 +09:00
|
|
|
restart: on-failure
|
|
|
|
network_mode: host
|
|
|
|
environment:
|
|
|
|
MOX_DOCKER: "yes"
|
|
|
|
volumes:
|
|
|
|
- caddy_data:/var/lib/caddy/data:ro
|
|
|
|
- mox_data:/mox/data
|
|
|
|
- mox_config:/mox/config
|
|
|
|
- type: bind
|
|
|
|
source: ./etc/mox/config/mox.conf
|
|
|
|
target: /mox/config/mox.conf
|
|
|
|
- type: bind
|
|
|
|
source: ./etc/mox/config/domains.conf
|
|
|
|
target: /mox/config/domains.conf
|
|
|
|
healthcheck:
|
|
|
|
test: "netstat -nlt | grep ':25 '"
|
|
|
|
interval: "1s"
|
|
|
|
timeout: "1s"
|
|
|
|
retries: 10
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
caddy_data:
|
|
|
|
caddy_config:
|
2022-12-19 21:43:41 +09:00
|
|
|
gotosocial_data:
|
2023-03-19 13:59:36 +09:00
|
|
|
vikunja_data:
|
2023-04-19 19:17:57 +09:00
|
|
|
mox_data:
|
|
|
|
mox_config:
|
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
|