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

52 lines
1.6 KiB
YAML
Raw Normal View History

2021-07-18 19:35:25 +09:00
services:
https:
2022-05-06 20:54:01 +00:00
image: caddy:2.5.1-alpine@sha256:0033b34d2df3fe0bf94088c36e7d722ceca1b38cbdd49c08b2c10b9f9aa58912
2021-07-18 19:35:25 +09:00
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./etc/caddy:/etc/caddy
2021-07-18 20:38:29 +09:00
- ./srv:/srv
2021-07-18 19:35:25 +09:00
- caddy_data:/data
- caddy_config:/config
- minicharge_tmp:/tmp/minicharge
minicharge:
image: miniflux/miniflux:2.0.37@sha256:0a768ab76a1e8e0f03b1a29d9a8424eb60af71af937da35677e87d5a4ef65bf6
2021-07-18 19:35:25 +09:00
restart: unless-stopped
environment:
LISTEN_ADDR: /tmp/miniflux.sock
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/tmp/postgresql
RUN_MIGRATIONS: "1"
2021-07-18 19:35:25 +09:00
volumes:
- minicharge_tmp:/tmp
- postgres_tmp:/tmp/postgresql
depends_on:
db:
condition: service_healthy
db:
2022-05-26 01:15:57 +00:00
image: postgres:14.3-alpine@sha256:c75bb07ca2cc3175a6187cc57dc228ae4b57d132e4b3f893ce50001fa6ca98af
2021-07-18 19:35:25 +09:00
restart: unless-stopped
healthcheck:
2021-10-09 23:07:13 +09:00
test: pg_isready -U postgres
2021-07-18 19:35:25 +09:00
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_tmp:/var/run/postgresql
2021-10-02 20:23:00 +09:00
- postgres_data_v14:/var/lib/postgresql/data
2021-08-18 19:26:59 +09:00
dns.keiu.net:
image: coredns/coredns:1.9.3@sha256:8e352a029d304ca7431c6507b56800636c321cb52289686a581ab70aaa8a2e2a
2021-08-18 19:26:59 +09:00
restart: unless-stopped
expose: ["443"]
2021-08-18 21:08:20 +09:00
ports: ["853:853"]
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"
2021-07-18 19:35:25 +09:00
volumes:
caddy_data:
caddy_config:
minicharge_tmp:
postgres_tmp:
2021-10-02 20:23:00 +09:00
postgres_data_v14: