mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-23 05:58:34 +01:00
22 lines
893 B
Bash
Executable File
22 lines
893 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# for psql
|
|
export PGHOST=postgres
|
|
export PGUSER="${POSTGRES_USER}"
|
|
export PGPASSWORD="${POSTGRES_PASSWORD}"
|
|
|
|
|
|
# for hasura
|
|
export HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/hasura_app
|
|
export HASURA_GRAPHQL_METADATA_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/hasura_app
|
|
export HASURA_GRAPHQL_LOG_LEVEL=warn
|
|
export HASURA_GRAPHQL_ENABLE_CONSOLE=false
|
|
export HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL=250
|
|
export HASURA_GRAPHQL_STREAMING_QUERIES_MULTIPLEXED_REFETCH_INTERVAL=100
|
|
export HASURA_GRAPHQL_ADMIN_SECRET=bigbluebutton # TODO: improve security
|
|
export HASURA_GRAPHQL_ENABLE_TELEMETRY=false
|
|
export HASURA_GRAPHQL_AUTH_HOOK=http://bbb-web:8090/bigbluebutton/connection/checkGraphqlAuthorization
|
|
export HASURA_BBB_GRAPHQL_ACTIONS_ADAPTER_URL=http://bbb-graphql-actions:8093
|
|
|
|
|
|
exec $@ |