services:
  # web:
  #   build: .
  #   command: python /code/manage.py runserver 0.0.0.0:8000
  #   volumes:
  #     - .:/code:z
  #   ports:
  #     - 8000:8000
  #   depends_on:
  #     - db
  db:
    image: postgres:16
    ports:
      - 5432:5432
    volumes:
      - postgres_data:/var/lib/postgresql/data/
    environment:
      - "POSTGRES_HOST_AUTH_METHOD=trust"

volumes:
  postgres_data:
