-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev_docker_compose.yml
48 lines (43 loc) · 1.41 KB
/
dev_docker_compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
services:
postgres:
image: postgres
restart: no
ports:
- 5432:5432
volumes:
- hasura_ci_db_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgrespassword
graphql-engine:
image: hasura/graphql-engine:v2.36.1
restart: no
ports:
- 8080:8080
depends_on:
- postgres
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
HASURA_GRAPHQL_ENABLE_CONSOLE: 'true'
HASURA_GRAPHQL_ADMIN_SECRET: my-secret
HASURA_GRAPHQL_JWT_SECRET: '{ "type": "HS256", "key": "this-is-a-generic-HS256-secret-key-and-you-should-really-change-it" }'
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anonymous
JWT_URL: http://hasura-jwt:3000
hasura-jwt:
build:
context: ./src
dockerfile: Dockerfile
restart: no
ports:
- 3000:3000
environment:
JWT_KEY: this-is-a-generic-HS256-secret-key-and-you-should-really-change-it
HASURA_SECRET: my-secret
APP_URL: http://localhost:3000
EMAIL_VERIFICATION: true
SMTP_HOST: mail.example.com
SMTP_PORT: '587'
SMTP_USER: user@example.com
SMTP_PASSWORD: user_password
volumes:
hasura_ci_db_data: