2023-06-12 01:40:49 +00:00
|
|
|
- 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:
|
2023-06-12 01:41:55 +00:00
|
|
|
# valid values for interface: ['public', 'local']
|
|
|
|
interface: ''
|
2023-06-12 01:40:49 +00:00
|
|
|
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:
|
2023-06-12 01:41:55 +00:00
|
|
|
interface: ''
|
2023-06-12 01:40:49 +00:00
|
|
|
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:
|
2023-06-12 01:41:55 +00:00
|
|
|
interface: ''
|
2023-06-12 01:40:49 +00:00
|
|
|
port: 5432
|
|
|
|
domain: 'foo.org'
|
|
|
|
ssl: true
|