feat: Adds host mount.

This commit is contained in:
2025-04-10 09:21:43 -04:00
parent fe40850a34
commit 8a8f3e25c2
2 changed files with 2 additions and 7 deletions

View File

@@ -10,14 +10,8 @@ services:
networks:
- proxy
volumes:
- db_data:/app/dbschema/sqlite/prisma
- ${DATA_MNT}:/app/dbschema/sqlite/prisma
networks:
proxy:
external: true
volumes:
db_data:
driver: local
labels:
dev.housh.description: "Snapp sqlite database volume."

View File

@@ -2,6 +2,7 @@ ADMIN_USERNAME=admin
ADMIN_PASSWORD=super-secret
TOKEN_SECRET=some-token
ORIGIN=https://s.housh.dev
DATA_MNT=/mnt # Database mount from host.
# Database Settings
DATABASE_URL="file:./db.sqlite"