Move some DBs to main SSD
All checks were successful
/ terraform (push) Successful in 53s
/ ansible (push) Successful in 1m47s

This should improve performance. More apps to come!
This commit is contained in:
Jake Howard 2023-05-14 21:05:32 +01:00
parent a0f7d48502
commit 6c800fbc01
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ services:
image: postgres:14-alpine image: postgres:14-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/postgres/gitea:/var/lib/postgresql/data - ./db:/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:
- /mnt/tank/dbs/redis/gitea:/data - ./redis:/data
networks: networks:
traefik: traefik:

View file

@ -47,7 +47,7 @@ services:
image: postgres:14-alpine image: postgres:14-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/postgres/mastodon/:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=mastodon - POSTGRES_PASSWORD=mastodon
- POSTGRES_USER=mastodon - POSTGRES_USER=mastodon
@ -56,7 +56,7 @@ services:
image: redis:7-alpine image: redis:7-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/redis/mastodon/:/data - ./redis:/data
networks: networks:
traefik: traefik:

View file

@ -50,7 +50,7 @@ services:
image: mariadb:10.6 image: mariadb:10.6
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/mariadb/nextcloud/:/var/lib/mysql - ./db:/var/lib/mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=nextcloud - MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud - MYSQL_DATABASE=nextcloud
@ -61,7 +61,7 @@ services:
image: redis:7-alpine image: redis:7-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/redis/nextcloud:/data - ./redis:/data
networks: networks:
traefik: traefik:

View file

@ -52,7 +52,7 @@ services:
image: postgres:14-alpine image: postgres:14-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /mnt/tank/dbs/postgres/tt-rss/:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=tt-rss - POSTGRES_PASSWORD=tt-rss
- POSTGRES_USER=tt-rss - POSTGRES_USER=tt-rss