2019-03-24 14:57:29 +01:00
|
|
|
title: Super Graph Production
|
|
|
|
host_port: 0.0.0.0:8080
|
|
|
|
web_ui: false
|
|
|
|
debug_level: 0
|
|
|
|
auth_fail_block: always
|
|
|
|
|
2019-04-01 07:18:14 +02:00
|
|
|
# Postgres related environment Variables
|
2019-03-24 14:57:29 +01:00
|
|
|
# SG_DATABASE_HOST
|
|
|
|
# SG_DATABASE_PORT
|
|
|
|
# SG_DATABASE_USER
|
|
|
|
# SG_DATABASE_PASSWORD
|
|
|
|
|
2019-04-01 07:18:14 +02:00
|
|
|
# Auth related environment Variables
|
2019-03-24 14:57:29 +01:00
|
|
|
# SG_AUTH_SECRET_KEY_BASE
|
|
|
|
# SG_AUTH_PUBLIC_KEY_FILE
|
|
|
|
# SG_AUTH_URL
|
|
|
|
# SG_AUTH_PASSWORD
|
|
|
|
|
|
|
|
# inflections:
|
|
|
|
# person: people
|
|
|
|
# sheep: sheep
|
|
|
|
|
|
|
|
auth:
|
|
|
|
type: rails
|
|
|
|
cookie: _app_session
|
|
|
|
store: cookie
|
|
|
|
secret_key_base: caf335bfcfdb04e50db5bb0a4d67ab9...
|
|
|
|
|
|
|
|
# auth:
|
|
|
|
# type: rails
|
|
|
|
# cookie: _app_session
|
|
|
|
# store: memcache
|
|
|
|
# host: 127.0.0.1
|
|
|
|
|
|
|
|
# auth:
|
|
|
|
# type: rails
|
|
|
|
# cookie: _app_session
|
|
|
|
# store: redis
|
|
|
|
# max_idle: 80,
|
|
|
|
# max_active: 12000,
|
|
|
|
# url: redis://127.0.0.1:6379
|
|
|
|
# password: ""
|
|
|
|
|
|
|
|
# auth:
|
|
|
|
# type: jwt
|
2019-03-29 03:34:42 +01:00
|
|
|
# provider: auth0
|
2019-03-24 14:57:29 +01:00
|
|
|
# cookie: _app_session
|
|
|
|
# secret: abc335bfcfdb04e50db5bb0a4d67ab9
|
2019-03-29 03:34:42 +01:00
|
|
|
# public_key_file: /secrets/public_key.pem
|
2019-03-24 14:57:29 +01:00
|
|
|
# public_key_type: ecdsa #rsa
|
|
|
|
|
|
|
|
database:
|
|
|
|
type: postgres
|
|
|
|
host: db
|
|
|
|
port: 5432
|
|
|
|
dbname: app_development
|
|
|
|
user: postgres
|
|
|
|
password: "too many secrets"
|
|
|
|
#pool_size: 10
|
|
|
|
#max_retries: 0
|
|
|
|
#log_level: "debug"
|
|
|
|
|
|
|
|
variables:
|
|
|
|
account_id: "select account_id from users where id = $user_id"
|
|
|
|
|
|
|
|
filters:
|
|
|
|
users: "{ id: { _eq: $user_id } }"
|
|
|
|
#posts: "{ account_id: { _eq: $account_id } }"
|
|
|
|
|
|
|
|
blacklist:
|
2019-03-24 23:16:03 +01:00
|
|
|
- ar_internal_metadata
|
|
|
|
- schema_migrations
|
2019-03-24 14:57:29 +01:00
|
|
|
- secret
|
|
|
|
- password
|
|
|
|
- encrypted
|
|
|
|
- token
|
|
|
|
|
|
|
|
|