Provision a new SSD for DBs
This makes the data easier to back up and splits it out from the main boot pool
This commit is contained in:
parent
2fa7f7212f
commit
2998958ddd
3 changed files with 9 additions and 2 deletions
|
@ -3,6 +3,7 @@ private_ip: "{{ pve_hosts.pve.ip }}"
|
|||
zpools_to_scrub:
|
||||
- tank
|
||||
- rpool
|
||||
- speed
|
||||
|
||||
# 5GB, or so
|
||||
zfs_arc_size: 5000000000
|
||||
|
@ -13,6 +14,11 @@ sanoid_datasets:
|
|||
recursive: true
|
||||
process_children_only: true
|
||||
|
||||
speed:
|
||||
use_template: production
|
||||
recursive: true
|
||||
process_children_only: true
|
||||
|
||||
rpool:
|
||||
use_template: production
|
||||
recursive: true
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
restic_backup_locations:
|
||||
- /mnt/host/mnt/tank
|
||||
- /mnt/host/mnt/speed
|
||||
- /mnt/host/etc/pve
|
||||
- /mnt/home-assistant
|
||||
restic_healthchecks_id: "{{ vault_restic_healthchecks_id }}"
|
||||
|
|
|
@ -33,7 +33,7 @@ services:
|
|||
image: postgres:14-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
||||
- /mnt/speed/dbs/postgres/gitea:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_USER=gitea
|
||||
|
@ -42,7 +42,7 @@ services:
|
|||
image: redis:7-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
- /mnt/speed/dbs/redis/gitea:/data
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
|
|
Loading…
Reference in a new issue