2021-07-18 19:35:25 +09:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
https:
|
2021-07-31 03:34:32 +00:00
|
|
|
image: caddy:2.4.3-alpine@sha256:f00d2e7e82418a30135cbe5c1455df6c617ee651d6f430183a8e49e3b2608359
|
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:
|
2021-08-15 05:00:17 +00:00
|
|
|
image: miniflux/miniflux:2.0.32@sha256:1da85593b4a68267d0e15009114351868f1cb749192c4689990855051c90a152
|
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
|
2021-08-15 14:09:44 +09:00
|
|
|
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:
|
2021-08-27 22:44:48 +00:00
|
|
|
image: postgres:13.4-alpine@sha256:9e81952c9be1419c5567d23cf29bedc41cde0e8078c945ec63905d419f00ba07
|
2021-07-18 19:35:25 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: pg_isready
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
volumes:
|
|
|
|
- postgres_tmp:/var/run/postgresql
|
|
|
|
- postgres_data:/var/lib/postgresql/data
|
2021-08-18 19:26:59 +09:00
|
|
|
dns.keiu.net:
|
2021-08-18 10:52:26 +00:00
|
|
|
image: coredns/coredns:1.8.4@sha256:6e5a02c21641597998b4be7cb5eb1e7b02c0d8d23cce4dd09f4682d463798890
|
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:
|
|
|
|
postgres_data:
|