Initial commit

This commit is contained in:
Kristof committed 2026-10-14 12:29:29 +02:00
commit 536ff43ce4
158 files changed
+30355

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# PIVOT – één container voor alle scholen.
#
# Vóór de eerste start:
# 1. config.ini invullen (database-server, superbeheerders, gedeelde Google-login)
# 2. .env aanmaken naast dit bestand met minstens:
# PIVOT_DB_PASSWORD=...
# PIVOT_SLEUTEL=... (python beheer.py nieuwe-sleutel) ← BACK-UP NEMEN
# FLASK_SECRET_KEY=... (willekeurige lange tekst)
# 3. docker compose up -d --build
# 4. bestaande school overzetten:
# docker compose exec server python beheer.py importeer-config /app/import/config.ini \
# --google-sleutel /app/import/kamxm_api_key.json
services:
server:
build:
context: .
ports:
- 5001:5001
env_file:
- .env
environment:
- PIVOT_GEHEIMEN=/app/geheimen
volumes:
- ./config.ini:/app/config.ini:ro
- ./geheimen:/app/geheimen
- ./import:/app/import:ro
restart: unless-stopped