generated from NLeSC/nuxt-apollo-hasura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 2.29 KB
/
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
##
## UNDER DEVELOPMENT
##
# Variables:
#vars:
# firebase-project-id: "nuxt-apollo-hasura"
version: "3.6"
#services:
services:
backend:
build: backend
restart: always
ports:
- "5000:5000"
frontend:
build: frontend
restart: always
ports:
- "8080:80"
# postgres:
# image: postgres:12
# restart: always
# volumes:
# - db_data:/var/lib/postgresql/data
# environment:
# POSTGRES_PASSWORD: postgrespassword
# graphql-engine:
# image: hasura/graphql-engine:v1.2.2
# ports:
# - '4001:8080'
# depends_on:
# - 'postgres'
# restart: always
# environment:
# HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
# HASURA_GRAPHQL_ENABLE_CONSOLE: 'true' # set to "false" to disable console
# HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
# #AUTH 0, admin secret must be defined for Hasura JWT mode be enabled
# HASURA_GRAPHQL_UNAUTHORIZED_ROLE: public
# HASURA_GRAPHQL_ADMIN_SECRET: adminpassword
# HASURA_GRAPHQL_JWT_SECRET: '{"type": "RS512", "key": "-----BEGIN CERTIFICATE-----\nMIIDGTCCAgGgAwIBAgIJGTOYY/aBd9FyMA0GCSqGSIb3DQEBCwUAMCoxKDAmBgNV\nBAMTH251eHQtYXBvbGxvLWhhc3VyYS5ldS5hdXRoMC5jb20wHhcNMjAwNTIzMTIx\nOTIxWhcNMzQwMTMwMTIxOTIxWjAqMSgwJgYDVQQDEx9udXh0LWFwb2xsby1oYXN1\ncmEuZXUuYXV0aDAuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\n6p03oPR4lJArnmFK4boShye8z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