Skip to content

Commit 8edfed2

Browse files
authored
Merge pull request #60 from xsnippet/rpi
Move production to RPI
2 parents 106e24b + 2367fbe commit 8edfed2

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

inventories/production/group_vars/all.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ postgres_users:
77
- database: "{{ xsnippet_api_user }}"
88
username: "{{ xsnippet_api_user }}"
99
backup_schedule: "*-*-* 3:00:00" # every night at 03:00 UTC
10-
volume_binds:
11-
- path: /data/postgresql
12-
mountpoint: /var/lib/postgresql
13-
mode: u=rwx,g=rx,o=
14-
- path: /data/postgresql-backups
15-
mountpoint: /var/lib/postgresql-backups
16-
mode: u=rwx,g=rx,o=
17-
volume_device: /dev/disk/by-id/scsi-0DO_Volume_xsnippet-state
1810
xsnippet_api_user: xsnippet-api
11+
xsnippet_api_artifact: https://github.com/xsnippet/xsnippet-api/releases/download/nightly/xsnippet-api-aarch64-linux.gz
1912
xsnippet_api_database_url: postgresql:///{{ postgres_users[0].database }}?host=/run/postgresql
2013
xsnippet_api_server_name: api.xsnippet.org
2114
xsnippet_raw_server_name: raw.xsnippet.org

inventories/production/hosts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[xsnippet]
2-
xsnippet.org ansible_user=provisioner
2+
2a02:8084:4:e480:244a:d5a5:ac59:617d ansible_user=provisioner

0 commit comments

Comments
 (0)