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:
Jake Howard
2023-06-15 09:09:48 +01:00
parent 2fa7f7212f
commit 2998958ddd
3 changed files with 9 additions and 2 deletions

View File

@ -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: