version: '3.8' services: app: container_name: learn-request-queue build: . depends_on: - db volumes: - .:/home/app ports: - "80:3000" env_file: .env db: container_name: learn-request-queue-db image: postgres environment: POSTGRES_HOST_AUTH_METHOD: trust volumes: - ./db:/docker-entrypoint-initdb.d