1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 16:08:01 +00:00
fogtype.com/docker-compose.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2021-07-18 19:35:25 +09:00
version: "3"
services:
https:
2021-07-18 10:36:37 +00:00
image: caddy:2.4.3-alpine@sha256:0f792d7cd96708d297fd55304917c1cad5e71b9317e68f167204d9d9e0f44657
2021-07-18 19:35:25 +09:00
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./etc/caddy:/etc/caddy
- caddy_data:/data
- caddy_config:/config
- minicharge_tmp:/tmp/minicharge
minicharge:
2021-07-18 10:36:37 +00:00
image: miniflux/miniflux:2.0.31@sha256:63dea50e3dbb472e60f6fff59726867f588f61b246a93141b050b5041eed422f
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
volumes:
- minicharge_tmp:/tmp
- postgres_tmp:/tmp/postgresql
depends_on:
db:
condition: service_healthy
db:
2021-07-18 10:36:37 +00:00
image: postgres:13.3-alpine@sha256:ff384947eb9f5939b7fc5ef2ce620fad088999590973f05e6812037d163c770e
2021-07-18 19:35:25 +09:00
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: