# Starting point for the compose-persist task. It runs, but its data dies with the container, the port is open on
# every network interface, and nothing tells Docker when the database is ready. Fix all three.
services:
  db:
    image: postgres:18
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD in a .env file next to this one}
    ports:
      - "55440:5432"
