mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 16:08:01 +00:00
102 lines
2.9 KiB
YAML
102 lines
2.9 KiB
YAML
name: keiunet
|
|
services:
|
|
https:
|
|
image: caddy:2.6.4-alpine@sha256:eefd3d61e9ee8f35e046f614982d9a970006e3943c6e5f09957a4048f4c80d35
|
|
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
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
dns:
|
|
image: coredns/coredns:1.10.1@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e
|
|
restart: unless-stopped
|
|
expose: ["443"]
|
|
ports:
|
|
- "53:53/udp"
|
|
- "53:53/tcp"
|
|
- "853:853"
|
|
- "127.0.0.1:9153:9153"
|
|
volumes:
|
|
- ./etc/coredns:/etc/coredns
|
|
- caddy_data:/var/lib/caddy/data
|
|
command: "-conf /etc/coredns/Corefile"
|
|
networks:
|
|
- fogtype
|
|
gts:
|
|
image: superseriousbusiness/gotosocial:0.8.0@sha256:69d14ed3f68b9536f4cc6399f9823af9951b0f36b16d70e9b14dec9d251c7081
|
|
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
|
|
vikunja-api:
|
|
image: vikunja/api:0.20.4@sha256:0f8e00f99120ac677de0764b054e4402f7046077004ff5e26f9146adfaf8b0af
|
|
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:
|
|
image: vikunja/frontend:0.20.5@sha256:5aad76d28c5dd8f5f5f4e6d5ba3459138676d37e5f79747f53ce64a52ba78b56
|
|
restart: unless-stopped
|
|
networks:
|
|
- fogtype
|
|
mox:
|
|
image: r.xmox.nl/mox:latest@sha256:67a7619cea5bb6150d02a9c662a50266550d6d5f80c681e30f8f998e1deee52b
|
|
restart: on-failure
|
|
network_mode: host
|
|
user: "1000:1000"
|
|
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
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|
|
gotosocial_data:
|
|
vikunja_data:
|
|
mox_data:
|
|
mox_config:
|
|
networks:
|
|
fogtype:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.30.0.0/24
|