18 lines
691 B
YAML
18 lines
691 B
YAML
# General
|
|
memos_data_dir: /var/lib/memos
|
|
memos_port: 5230
|
|
|
|
# (caddy_sites_dir and subdomain now in services_config.yml)
|
|
|
|
# Remote access
|
|
remote_host_name: "memos-box"
|
|
remote_host: "{{ hostvars.get(remote_host_name, {}).get('ansible_host', remote_host_name) }}"
|
|
remote_user: "{{ hostvars.get(remote_host_name, {}).get('ansible_user', 'counterweight') }}"
|
|
remote_key_file: "{{ hostvars.get(remote_host_name, {}).get('ansible_ssh_private_key_file', '') }}"
|
|
remote_port: "{{ hostvars.get(remote_host_name, {}).get('ansible_port', 22) }}"
|
|
|
|
# Local backup
|
|
local_backup_dir: "{{ lookup('env', 'HOME') }}/memos-backups"
|
|
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/memos_backup.sh"
|
|
|
|
|