version: '3.8' services: api: build: context: ./ dockerfile: ./Dockerfile # volumes: # - ./:/app container_name: photowall.graphql hostname: graphql.local ports: - '4000:4000' environment: - COGNITO_POOL_ID=eu-west-1_3O4VfvPn7 - DATABASE_URL=postgresql://fondberg:@docker.for.mac.localhost/photowall networks: default: external: name: photowall-docker-network