feat: Adds host mount.
This commit is contained in:
@@ -10,14 +10,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/app/dbschema/sqlite/prisma
|
- ${DATA_MNT}:/app/dbschema/sqlite/prisma
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
db_data:
|
|
||||||
driver: local
|
|
||||||
labels:
|
|
||||||
dev.housh.description: "Snapp sqlite database volume."
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ ADMIN_USERNAME=admin
|
|||||||
ADMIN_PASSWORD=super-secret
|
ADMIN_PASSWORD=super-secret
|
||||||
TOKEN_SECRET=some-token
|
TOKEN_SECRET=some-token
|
||||||
ORIGIN=https://s.housh.dev
|
ORIGIN=https://s.housh.dev
|
||||||
|
DATA_MNT=/mnt # Database mount from host.
|
||||||
|
|
||||||
# Database Settings
|
# Database Settings
|
||||||
DATABASE_URL="file:./db.sqlite"
|
DATABASE_URL="file:./db.sqlite"
|
||||||
|
|||||||
Reference in New Issue
Block a user