Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move production to RPI #60

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions inventories/production/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ postgres_users:
- database: "{{ xsnippet_api_user }}"
username: "{{ xsnippet_api_user }}"
backup_schedule: "*-*-* 3:00:00" # every night at 03:00 UTC
volume_binds:
- path: /data/postgresql
mountpoint: /var/lib/postgresql
mode: u=rwx,g=rx,o=
- path: /data/postgresql-backups
mountpoint: /var/lib/postgresql-backups
mode: u=rwx,g=rx,o=
volume_device: /dev/disk/by-id/scsi-0DO_Volume_xsnippet-state
xsnippet_api_user: xsnippet-api
xsnippet_api_artifact: https://github.com/xsnippet/xsnippet-api/releases/download/nightly/xsnippet-api-aarch64-linux.gz
xsnippet_api_database_url: postgresql:///{{ postgres_users[0].database }}?host=/run/postgresql
xsnippet_api_server_name: api.xsnippet.org
xsnippet_raw_server_name: raw.xsnippet.org
Expand Down
2 changes: 1 addition & 1 deletion inventories/production/hosts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[xsnippet]
xsnippet.org ansible_user=provisioner
2a02:8084:4:e480:244a:d5a5:ac59:617d ansible_user=provisioner
Loading