Skip to content

Commit

Permalink
Merge pull request #60 from xsnippet/rpi
Browse files Browse the repository at this point in the history
Move production to RPI
  • Loading branch information
malor authored Nov 27, 2024
2 parents 106e24b + 2367fbe commit 8edfed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
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

0 comments on commit 8edfed2

Please sign in to comment.