2021-07-18 19:35:25 +09:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
https:
|
2022-03-19 02:07:39 +00:00
|
|
|
image: caddy:2.4.6-alpine@sha256:b5a59725783bab0d65803f87028c68dd6611ca6184040bd98b18797cbe26bdd9
|
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:
|
2022-03-09 11:08:32 +00:00
|
|
|
image: miniflux/miniflux:2.0.36@sha256:e2fb990dae74e16b087ac07b8518e4bd1babfa710f0243ef9cc1b7f1d2d24ba2
|
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:
|
2022-03-24 02:45:37 +00:00
|
|
|
image: postgres:14.2-alpine@sha256:7a3fbfc8461b38cbc19550165103a2e2f80f14d6cdd17b16b0b994b645544672
|
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:
|
2022-03-11 20:25:34 +00:00
|
|
|
image: coredns/coredns:1.9.1@sha256:d5a7db9ab4cb3efc22a08707385c54c328db3df32841d6c4a8ae78f102f1f49a
|
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:
|