mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
bf978601ba
* Refactor services mini app with single container * Make few little fixes to single container app * Update requirements.txt for single container example * Refactor multiple containers example * Add single container docs page * Create multiple containers page
31 lines
503 B
YAML
31 lines
503 B
YAML
core:
|
|
|
|
logging:
|
|
version: 1
|
|
formatters:
|
|
formatter:
|
|
format: "[%(asctime)s] [%(levelname)s] [%(name)s]: %(message)s"
|
|
handlers:
|
|
console:
|
|
class: "logging.StreamHandler"
|
|
level: "DEBUG"
|
|
formatter: "formatter"
|
|
stream: "ext://sys.stderr"
|
|
root:
|
|
level: "DEBUG"
|
|
handlers: ["console"]
|
|
|
|
gateways:
|
|
|
|
database:
|
|
dsn: ":memory:"
|
|
|
|
aws:
|
|
access_key_id: "KEY"
|
|
secret_access_key: "SECRET"
|
|
|
|
services:
|
|
|
|
auth:
|
|
token_ttl: 3600
|