Include legacy SQLite database for deployment

This commit is contained in:
2026-09-23 10:30:53 +02:00
parent 52bd2a0607
commit 594f96ab1b
3 changed files with 7 additions and 4 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
# Live application data - real phone numbers, employee names, login credentials, session key.
# Never commit these. The Docker volume recreates this folder at deploy time.
# Previous live-data location. Production now uses the PostgreSQL Docker volume.
/TelcoPortal-data/
/data/
# Track only the legacy import database; keep generated secrets and other local data private.
/data/*
!/data/telco.db
# Leftovers not meant to be tracked (see chat history for context).
/_to_delete/
+2 -1
View File
@@ -7,7 +7,8 @@ The Docker stack contains two services:
## First start and SQLite import
1. Put the existing SQLite database at `data/telco.db` next to `docker-compose.yml`.
1. The legacy SQLite database is included at `data/telco.db`, so Git-based deployments receive
the import source automatically.
2. Optionally set a database password in a `.env` file:
```env
BIN
View File
Binary file not shown.