PIVOT 1.1.0
This commit is contained in:
commit
8a53234eb6
161 files changed
+31109
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user