add current db layout and data

add handling for mounted export template directory
fixed naming problems and port exposure
This commit is contained in:
2025-12-27 08:27:34 +01:00
parent 29947ed4a4
commit 5f952742c8
7 changed files with 302 additions and 16 deletions
+5 -8
View File
@@ -1,4 +1,3 @@
version: "3.8"
services:
backend:
build:
@@ -16,19 +15,17 @@ services:
mariadb:
condition: service_healthy
working_dir: /app
volumes:
- ./templates:/app/templates
restart: unless-stopped
frontend:
build:
context: ../frontend
dockerfile: ../docker/Dockerfile.frontend
container_name: bamort-frontend
ports:
- "5173:80"
- "80:80"
environment:
- ENVIRONMENT=production
- VITE_API_URL=${VITE_API_URL:-http://bamort.trokan.de:8180}
@@ -56,8 +53,8 @@ services:
- ./init-db:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 30s
timeout: 15s
start_period: 20s
timeout: 10s
retries: 3
# phpMyAdmin - Database Management (commented out for production)