This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yaml
48 lines (48 loc) · 1.7 KB
/
docker-compose.yaml
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
version: "3.6"
services:
redis:
image: redis
ports:
- "6379:6379"
graphql-engine:
image: ${HASURA_DOCKER_IMAGE:-hasura/graphql-engine:v2.5.1.cli-migrations-v3}
ports:
- "8080:8080"
depends_on:
- "postgres"
restart: "no"
volumes:
- ./hasura/migrations:/hasura-migrations
- ./hasura/metadata:/hasura-metadata
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
HASURA_GRAPHQL_ENABLE_CONSOLE: "false"
## enable debugging mode. It is recommended to disable this in production
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET}
AUTH_BASE_URL: ${AUTH_BASE_URL}
ACTION_BASE_URL: ${ACTION_BASE_URL}
CACHES_BASE_URL: ${CACHES_BASE_URL}
REALTIME_BASE_URL: ${REALTIME_BASE_URL}
PLAYOUT_BASE_URL: ${PLAYOUT_BASE_URL}
IMPORTER_BASE_URL: ${IMPORTER_BASE_URL}
EVENT_SECRET: ${EVENT_SECRET}
PRESENCE_FLUSH_SECRET: ${PRESENCE_FLUSH_SECRET}
PRESENCE_SUMMARY_SECRET: ${PRESENCE_SUMMARY_SECRET}
HASURA_GRAPHQL_METADATA_DIR: /hasura-metadata
HASURA_GRAPHQL_MIGRATIONS_DIR: /hasura-migrations
HASURA_GRAPHQL_AUTH_HOOK: ${HASURA_GRAPHQL_AUTH_HOOK}
HASURA_GRAPHQL_AUTH_HOOK_MODE: GET
rabbitmq:
image: rabbitmq:3.8.14-management
hostname: rabbitmq-1
restart: "no"
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin
volumes:
- ./rabbitmq/enabled-plugins.erl:/etc/rabbitmq/enabled_plugins