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']
|
2023-06-15 02:20:45 +00:00
|
|
|
# files not listed will be deleted when script is re-run.
|
|
|
|
# relative paths are resolved from /home/<db.linux_user.username>
|
|
|
|
persist: ['data']
|
2023-06-12 01:40:49 +00:00
|
|
|
network:
|
2023-06-12 01:41:55 +00:00
|
|
|
# valid values for interface: ['public', 'local']
|
2023-06-12 02:12:09 +00:00
|
|
|
interface: 'public'
|
|
|
|
port: 1
|
2023-06-12 01:40:49 +00:00
|
|
|
domain: 'db.foo.org'
|
2023-06-17 17:19:23 +00:00
|
|
|
ip: '8.8.8.8'
|
2023-06-12 01:40:49 +00:00
|
|
|
ssl: false
|
2023-06-15 02:20:45 +00:00
|
|
|
postgres:
|
2023-06-12 01:40:49 +00:00
|
|
|
username: 'postgres'
|
|
|
|
password: 'password'
|
2023-06-15 02:20:45 +00:00
|
|
|
data_dir: '/home/foo_db/data'
|
2023-06-12 01:40:49 +00:00
|
|
|
- api:
|
|
|
|
linux_user:
|
|
|
|
username: 'foo_api'
|
|
|
|
allowed_ssh_public_keys: ['ssh-ed25519 <snip> my special ssh key']
|
2023-06-15 02:20:45 +00:00
|
|
|
persist: []
|
2023-06-12 01:40:49 +00:00
|
|
|
network:
|
2023-06-12 02:12:09 +00:00
|
|
|
interface: 'public'
|
|
|
|
port: 2
|
2023-06-12 01:40:49 +00:00
|
|
|
domain: 'api.foo.org'
|
|
|
|
ssl: true
|
|
|
|
- ui:
|
|
|
|
linux_user:
|
|
|
|
username: 'foo_ui'
|
|
|
|
allowed_ssh_public_keys: ['ssh-ed25519 <snip> my special ssh key']
|
2023-06-15 02:20:45 +00:00
|
|
|
persist: []
|
2023-06-12 01:40:49 +00:00
|
|
|
network:
|
2023-06-12 02:12:09 +00:00
|
|
|
interface: 'public'
|
|
|
|
port: 3
|
2023-06-12 01:40:49 +00:00
|
|
|
domain: 'foo.org'
|
|
|
|
ssl: true
|