srv/config.example.yml

36 lines
1002 B
YAML
Raw Normal View History

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:
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