feat: init inkl. docker configs

This commit is contained in:
betalabor.de
2026-04-24 18:43:42 +02:00
commit c9ef44423c
37 changed files with 10538 additions and 0 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: '3.8'
services:
lebenslauf-app:
# Portainer kann per Git-Verbindung das Image automatisch anhand
# des Dockerfiles ("build: .") im Repositiory bauen und deployen.
build: .
container_name: lebenslauf-app-container
ports:
- "4321:4321"
volumes:
# Für Portainer sind sogenannte "Named Volumes" wesentlich besser
# als lokale Ordner-Pfade, da Docker/Portainer den Speicherort selbst verwaltet.
- lebenslauf_data:/app/data
restart: unless-stopped
environment:
- HOST=0.0.0.0
- PORT=4321
- NODE_ENV=production
# Deklaration des benannten Volumes für Portainer
volumes:
lebenslauf_data:
name: lebenslauf_daten_volume