services:
  app:
    build:
      context: ./
      target: prod
    restart: unless-stopped
    env_file: ./.env
    depends_on:
      - db
  db:
    image: postgres:16
    restart: unless-stopped
    env_file: ./.env
    volumes:
      - ./data/db:/var/lib/postgresql/data