Update gitignore for db files (#190)

This commit is contained in:
Leendert de Borst
2024-12-21 12:09:43 +01:00
parent 03fd047cb4
commit eb45358532
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@@ -407,3 +407,6 @@ certificates/letsencrypt/**
docs/_site
docs/vendor
docs/.bundle
# Database files
database/postgres

View File

@@ -43,7 +43,7 @@ services:
ports:
- "5432:5432"
volumes:
- ./database:/var/lib/postgresql/data:rw
- ./database/postgres:/var/lib/postgresql/data:rw
environment:
POSTGRES_DB: aliasvault
POSTGRES_USER: aliasvault

View File

@@ -91,7 +91,7 @@ services:
postgres:
image: ghcr.io/lanedirt/aliasvault-postgres:latest
volumes:
- ./database:/var/lib/postgresql/data:rw
- ./database/postgres:/var/lib/postgresql/data:rw
environment:
POSTGRES_DB: aliasvault
POSTGRES_USER: aliasvault