Files
hasura-backend-plus/docker-compose.test.yaml
Pierre-Louis Mercereau 1266eb7ae0 yarn run test
2020-05-13 22:05:26 +02:00

26 lines
564 B
YAML

version: '3.6'
services:
hasura-backend-plus:
command: yarn run test
build:
context: .
dockerfile: Dockerfile.dev
env_file: '.env.test'
depends_on:
- 'mailhog'
environment:
NODE_ENV: test
JWT_ALGORITHM: HS256
JWT_KEY: '${JWT_KEY}'
SMTP_HOST: mailhog
SMTP_PORT: 1025
SMTP_SECURE: 'false'
volumes:
- .:/app
- /app/node_modules
graphql-engine:
environment:
HASURA_GRAPHQL_JWT_SECRET: '{"type": "HS256", "key": "${JWT_KEY}"}'
mailhog:
image: mailhog/mailhog