mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
version: "3"
|
|
services:
|
|
https:
|
|
image: caddy:2.4.3-alpine@sha256:0f792d7cd96708d297fd55304917c1cad5e71b9317e68f167204d9d9e0f44657
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./etc/caddy:/etc/caddy
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
- minicharge_tmp:/tmp/minicharge
|
|
minicharge:
|
|
image: miniflux/miniflux:2.0.31@sha256:63dea50e3dbb472e60f6fff59726867f588f61b246a93141b050b5041eed422f
|
|
restart: unless-stopped
|
|
environment:
|
|
LISTEN_ADDR: /tmp/miniflux.sock
|
|
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/tmp/postgresql
|
|
volumes:
|
|
- minicharge_tmp:/tmp
|
|
- postgres_tmp:/tmp/postgresql
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
db:
|
|
image: postgres:13.3-alpine@sha256:ff384947eb9f5939b7fc5ef2ce620fad088999590973f05e6812037d163c770e
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: pg_isready
|
|
environment:
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- ./etc/postgres/initdb.d:/docker-entrypoint-initdb.d
|
|
- postgres_tmp:/var/run/postgresql
|
|
- postgres_data:/var/lib/postgresql/data
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|
|
minicharge_tmp:
|
|
postgres_tmp:
|
|
postgres_data:
|