* 2919: rewrite for update to apollo 4 (#131) * rewrite for update to apollo 4 * removed container tests, edited make to publish any branch to staging * revert makefile * cleanup * update 1 * more fixes to get it working on aws * enabled csrf prevention protection, testing if build works * switched to express version * changed the healthcheck url * added cache to restdatasources * 3011: create a login mutation on graphql server that responds with a access token (#133) * 3011 added login rest endpoint and general scope fixes * changed login auth to basic auth username and password * minor changes from CR feedback * force update * added tighter timeout for idle knex connection * Refactor authentication and scopes (#134) * big refactor of scopes in graphql * cr fixes * some security fixes (#135) * some security fixes * cleanup * update staging * minor readme change
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
api:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./Dockerfile-dev
|
|
volumes:
|
|
- ./:/app
|
|
container_name: photowall.graphql
|
|
hostname: graphql.local
|
|
ports:
|
|
- '4000:4000'
|
|
environment:
|
|
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
|
|
- COGNITO_POOL_ID=eu-west-1_3O4VfvPn7
|
|
- COGNITO_LOGIN_CLIENT_ID=${COGNITO_LOGIN_CLIENT_ID}
|
|
- COGNITO_LOGIN_CLIENT_SECRET=${COGNITO_LOGIN_CLIENT_SECRET}
|
|
- COGNITO_LOGIN_CLIENT_URL=${COGNITO_LOGIN_CLIENT_URL}
|
|
- DATABASE_URL=${DATABASE_URL}
|
|
- INTERIORS_TOKEN=${INTERIORS_TOKEN}
|
|
- INTERIORS_URL=${INTERIORS_URL}
|
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
|
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
|
|
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
|
|
- NODE_ENV=development
|
|
- BERNARD_QUEUE_URL=${BERNARD_QUEUE_URL}
|
|
- NEW_RELIC_LICENSE_KEY=${NEW_RELIC_LICENSE_KEY}
|
|
- NEW_RELIC_APP_NAME=${NEW_RELIC_APP_NAME}
|
|
# - DEBUG=knex:*
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: photowall-docker-network
|