Provision a new SSD for DBs
Some checks failed
/ terraform (push) Successful in 1m16s
/ ansible (push) Failing after 1m57s

This makes the data easier to back up and splits it out from the main boot pool
This commit is contained in:
Jake Howard 2023-06-15 09:09:48 +01:00
parent 2fa7f7212f
commit 2998958ddd
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 9 additions and 2 deletions

View file

@ -3,6 +3,7 @@ private_ip: "{{ pve_hosts.pve.ip }}"
zpools_to_scrub: zpools_to_scrub:
- tank - tank
- rpool - rpool
- speed
# 5GB, or so # 5GB, or so
zfs_arc_size: 5000000000 zfs_arc_size: 5000000000
@ -13,6 +14,11 @@ sanoid_datasets:
recursive: true recursive: true
process_children_only: true process_children_only: true
speed:
use_template: production
recursive: true
process_children_only: true
rpool: rpool:
use_template: production use_template: production
recursive: true recursive: true

View file

@ -1,5 +1,6 @@
restic_backup_locations: restic_backup_locations:
- /mnt/host/mnt/tank - /mnt/host/mnt/tank
- /mnt/host/mnt/speed
- /mnt/host/etc/pve - /mnt/host/etc/pve
- /mnt/home-assistant - /mnt/home-assistant
restic_healthchecks_id: "{{ vault_restic_healthchecks_id }}" restic_healthchecks_id: "{{ vault_restic_healthchecks_id }}"

View file

@ -33,7 +33,7 @@ services:
image: postgres:14-alpine image: postgres:14-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./db:/var/lib/postgresql/data - /mnt/speed/dbs/postgres/gitea:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=gitea - POSTGRES_PASSWORD=gitea
- POSTGRES_USER=gitea - POSTGRES_USER=gitea
@ -42,7 +42,7 @@ services:
image: redis:7-alpine image: redis:7-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./redis:/data - /mnt/speed/dbs/redis/gitea:/data
networks: networks:
traefik: traefik: