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
application:
host: "0.0.0.0"
port: 8080
database:
host: "localhost"
port: "5432"
username: "app"
password: "secret"
# mae::DatabaseSettings expects `database_name`, not `db_name`.
database_name: "service_db"
# Local/dev connections default to non-SSL; staging/production override to true.
require_ssl: false
# NOTE: database_admin is optional in mae and all fields have defaults.
# These fields document the expected shape, but services can override or omit
# this block entirely if they don't need mae's database provisioning helpers.
database_admin:
superuser: "postgres"
superuser_password: "postgres"
superuser_db: "postgres"
migrator_user: "db_migrator"
migrator_password: "migrator_secret"
app_user: "app"
app_user_password: "secret"
db_name: "service_db"
graphdb:
host: "localhost"
port: "7687"
username: "neo4j"
password: "testpassword"
messagebroker:
host: "localhost"
port: "5672"
username: "guest"
password: "guest"
# Entry point for service-specific configuration. Each application defines
# its own `CustomSettings` struct under this key.
custom: