36 lines
1002 B
YAML
36 lines
1002 B
YAML
|
- db:
|
||
|
linux_user:
|
||
|
username: 'foo_db'
|
||
|
allowed_ssh_public_keys: ['ssh-ed25519 <snip> my special ssh key']
|
||
|
# files not listed will be deleted when script is re-run.
|
||
|
# relative paths are resolved from /home/<db.linux_user.username>
|
||
|
persist: ['data']
|
||
|
network:
|
||
|
interface: '' # valid values: ['public', 'local']
|
||
|
port: 5432
|
||
|
domain: 'db.foo.org'
|
||
|
ssl: false
|
||
|
pg_admin:
|
||
|
username: 'postgres'
|
||
|
password: 'password'
|
||
|
- api:
|
||
|
linux_user:
|
||
|
username: 'foo_api'
|
||
|
allowed_ssh_public_keys: ['ssh-ed25519 <snip> my special ssh key']
|
||
|
persist: []
|
||
|
network:
|
||
|
interface: '' # valid values: ['public', 'local']
|
||
|
port: 5432
|
||
|
domain: 'api.foo.org'
|
||
|
ssl: true
|
||
|
- ui:
|
||
|
linux_user:
|
||
|
username: 'foo_ui'
|
||
|
allowed_ssh_public_keys: ['ssh-ed25519 <snip> my special ssh key']
|
||
|
persist: []
|
||
|
network:
|
||
|
interface: '' # valid values: ['public', 'local']
|
||
|
port: 5432
|
||
|
domain: 'foo.org'
|
||
|
ssl: true
|