Files
Pivot/compose.yaml
T
2026-10-14 12:29:29 +02:00

28 lines
925 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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