06a59bc5991e0da1d2387be6f41f5393f575447f
Psalmbord Online
Run with Docker Compose
This project includes a Dockerfile + docker-compose.yml to run the Flask app behind gunicorn.
Configure environment (optional)
Copy the example env file:
cp .env.example .env
Start
docker compose up -d --build
Open:
- http://localhost:5000 (or
WEB_PORT)
Persisted data
Docker compose bind-mounts the following so data survives container rebuilds/recreates:
./instance/-> SQLite database file (stored atinstance/liturgie.db)./static/uploads/-> uploaded backgrounds/logos
Default admin user
On startup, init_db.py ensures DB/tables exist and creates an admin user only if it does not already exist.
Defaults:
- Username:
admin - Password:
admin
Override via .env:
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me
SMTP + wachtwoord reset
De applicatie kan wachtwoord-reset emails sturen via SMTP.
- Log in als admin en ga naar Admin Dashboard.
- Vul bij SMTP instellingen (wachtwoord reset) de SMTP host/port/credentials en
Van emailin. - Gebruik Test email sturen om te verifiëren.
- Gebruikers kunnen vervolgens op de login-pagina klikken op Wachtwoord vergeten?.
Let op: SMTP instellingen worden opgeslagen in de SQLite database (single-row tabel smtp_settings).
Handmatige test
- Start de app.
- Log in als admin → Admin Dashboard → configureer SMTP.
- Klik Test email sturen.
- Ga naar
/login→ Wachtwoord vergeten? → vul een bestaand gebruikers-emailadres in. - Open de reset-link uit de email en stel een nieuw wachtwoord in.
- Log in met het nieuwe wachtwoord.
Release / publish (git + docker push)
This repo includes a helper script that:
- Prompt for a version (e.g.
1.2.3) - Create a git commit with message
Version <version> - Push to:
https://git.alphen.cloud/bramval/PsalmbordOnlineCE - Build + push Docker image to:
git.alphen.cloud/bramval/psalmbordonlinece:<version>git.alphen.cloud/bramval/psalmbordonlinece:latest
Recommended (cross-platform Python)
python release.py
Non-interactive:
python release.py --version 1.2.3 --yes
Dry run:
python release.py --version 1.2.3 --dry-run
If Docker push fails due to authentication, run:
docker login git.alphen.cloud
Description
Languages
HTML
65.1%
Python
34.8%
Dockerfile
0.1%