version: "3" services: https: image: caddy:2.4.6-alpine@sha256:1659785ea84188c3ad22a6c1f96f463d167a4b81318d71f4bb6e3d37dbe73908 restart: unless-stopped ports: - "80:80" - "443:443" volumes: - ./etc/caddy:/etc/caddy - ./srv:/srv - caddy_data:/data - caddy_config:/config - minicharge_tmp:/tmp/minicharge minicharge: image: miniflux/miniflux:2.0.35@sha256:90aa3529964b87f829da43ac377a096629be8f2fc0a57e62d04da4865f190314 restart: unless-stopped environment: LISTEN_ADDR: /tmp/miniflux.sock DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/tmp/postgresql RUN_MIGRATIONS: "1" volumes: - minicharge_tmp:/tmp - postgres_tmp:/tmp/postgresql depends_on: db: condition: service_healthy db: image: postgres:14.2-alpine@sha256:a47d2ce08d692dff9b6799e022f3b4083263177e87c8d7ae9fab75af8d9575e7 restart: unless-stopped healthcheck: test: pg_isready -U postgres environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} volumes: - postgres_tmp:/var/run/postgresql - postgres_data_v14:/var/lib/postgresql/data dns.keiu.net: image: coredns/coredns:1.9.0@sha256:0f101fabf4b63883d4529435f75b1e8816dcc8915e8fa7d28aa6e50a15e9ea6a restart: unless-stopped expose: ["443"] ports: ["853:853"] volumes: - ./etc/coredns:/etc/coredns - caddy_data:/var/lib/caddy/data command: "-conf /etc/coredns/Corefile" volumes: caddy_data: caddy_config: minicharge_tmp: postgres_tmp: postgres_data_v14: