Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [app:main]
- use = egg:kinto
- kinto.project_name = Kinto DEV
- kinto.cache_backend = kinto.core.cache.postgresql
- kinto.cache_url = postgres://[censored]/dbname
- kinto.storage_backend = kinto.core.storage.postgresql
- kinto.storage_url = postgres://[censored]/dbname
- kinto.permission_backend = kinto.core.permission.postgresql
- kinto.permission_url = postgres://[censored]/dbname
- kinto.http_scheme = https
- kinto.http_host = kinto.dev.mozaws.net
- kinto.eos =
- kinto.experimental_collection_schema_validation = true
- kinto.experimental_permissions_endpoint = true
- pyramid.debug_notfound = false
- # kinto.backoff = 10
- kinto.userid_hmac_secret = [censored]
- multiauth.policies = account auth0 basicauth portier
- multiauth.policy.fxa.use = kinto_fxa.authentication.FxAOAuthAuthenticationPolicy
- multiauth.policy.portier.use = kinto_portier.authentication.PortierOAuthAuthenticationPolicy
- kinto.includes =
- kinto.plugins.flush
- kinto.plugins.default_bucket
- kinto.plugins.admin
- kinto.plugins.openid
- kinto.plugins.accounts
- kinto.plugins.history
- kinto_attachment
- kinto_changes
- kinto_portier
- # Accounts
- multiauth.policy.account.use = kinto.plugins.accounts.authentication.AccountsAuthenticationPolicy
- kinto.account_create_principals = system.Everyone
- kinto.account_write_principals = account:admin
- # Kinto portier
- kinto.portier.broker_url = https://broker.portier.io
- kinto.portier.cache_ttl_seconds = 300
- kinto.portier.session_ttl_seconds = 86400 # Flushed everyday anyway
- kinto.portier.webapp.authorized_domains = *.github.io localhost localhost:* *.mozaws.net
- # Kinto OpenID
- multiauth.policy.auth0.use = kinto.plugins.openid.OpenIDConnectPolicy
- multiauth.policy.auth0.issuer = https://auth.mozilla.auth0.com
- multiauth.policy.auth0.client_id = [censored]
- multiauth.policy.auth0.client_secret = [censored]
- multiauth.policy.auth0.userid_field = email
- # Kinto Pusher
- # pusher.app_id = 152225
- # pusher.key = 01a9feaaf9ebb120d1a6
- # pusher.secret = dcb68f22e7a4a5dc5119
- # Event configuration for kinto-pusher on record
- # kinto.event_listeners = pusher changes
- # kinto.event_listeners.pusher.use = kinto_pusher.listener
- # kinto.event_listeners.pusher.resources = record
- # kinto.event_listeners.pusher.channel = {bucket_id}-{collection_id}-{resource_name}
- # Kinto attachment
- kinto.attachment.base_url =
- kinto.attachment.extra.base_url = https://kinto.dev.mozaws.net/attachments/
- kinto.attachment.base_path = /home/ubuntu/demo/v1/attachments/
- kinto.attachment.extensions = images+audio+video+archives bin json gz
- kinto.changes.resources = /buckets/blocklists /buckets/main
- [uwsgi]
- wsgi-file = app.wsgi
- enable-threads = true
- socket = /run/uwsgi/kinto-latest.sock
- chmod-socket = 666
- cheaper-algo = busyness
- cheaper = 5
- cheaper-initial = 9
- workers = 14
- cheaper-step = 1
- cheaper-overload = 30
- cheaper-busyness-verbose = true
- master = true
- module = kinto
- harakiri = 120
- uid = ubuntu
- gid = ubuntu
- virtualenv = /home/ubuntu/venvs/kinto35
- lazy = true
- lazy-apps = true
- single-interpreter = true
- buffer-size = 65535
- post-buffering = 65535
- plugins=python35
- [server:main]
- use = egg:waitress#main
- host = 0.0.0.0
- port = 8888
- # Begin logging configuration
- [loggers]
- keys = root, kinto
- #, sentry
- [handlers]
- keys = console
- #, sentry
- [formatters]
- keys = generic
- [logger_root]
- level = DEBUG
- handlers = console
- #, sentry
- [logger_kinto]
- level = DEBUG
- handlers = console
- qualname = kinto
- [handler_console]
- class = StreamHandler
- args = (sys.stdout,)
- level = INFO
- formatter = generic
- [formatter_generic]
- format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
- datefmt = %H:%M:%S
- [logger_sentry]
- level = WARN
- handlers = console
- qualname = sentry.errors
- propagate = 0
- # [handler_sentry]
- # class = raven.handlers.logging.SentryHandler
- # args = ('[censored]',)
- # level = WARNING
- # formatter = generic
- # End logging configuration
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement