Files
graphql-api-js/docker-compose-prodlike.yml
T
Arwid ThornströmandGitHub c68c182b64 3010: Apollo 4 major update and complete security overhaul to prepare for public api support
* 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
2022-12-12 12:58:24 +01:00

33 lines
1006 B
YAML

version: '3.8'
services:
api:
build:
context: ./
dockerfile: ./Dockerfile
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}
networks:
default:
external:
name: photowall-docker-network