#12 Docker: Dockerfile & docker-compose.yml #12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ziel
Das Projekt über
docker compose upstartbar machen, ohne dass Konfigurationsdateien oder Daten im Image landen.Dockerfile
Kein
COPY config/– alle lokalen Dateien bleiben außerhalb des Images.docker-compose.yml
Aufgaben
Dockerfileerstellen (non-root usermeshdd, kein Config-COPY)docker-compose.ymlerstellen mit Bind-Mounts für./configund./data.dockerignoreerstellen:config/,data/,.git,__pycache__,*.dbdata/-Verzeichnis mit.gitkeepsicherstellen (Docker muss es beim Start anlegen können)config/config.example.yamlauf v0.09.00 aktualisieren (als Vorlage für Ersteinrichtung)Akzeptanzkriterium