2025-08-12 22:09:15 +02:00
|
|
|
# Environment variables for Bamort production deployment
|
2026-02-27 11:55:30 +01:00
|
|
|
# Copy this file to .env.dev or .env.prd and adjust the values as needed
|
2026-05-01 23:19:59 +02:00
|
|
|
COMPOSE_PROJECT_NAME=bamort
|
2025-08-12 22:09:15 +02:00
|
|
|
|
2026-02-27 11:55:30 +01:00
|
|
|
# ===== FRONTEND API CONFIGURATION =====
|
|
|
|
|
# API_URL: The backend API endpoint that the frontend will use
|
|
|
|
|
# For production: Use your public API domain (https://api.yourdomain.com)
|
|
|
|
|
# For development: Use your local network IP (http://192.168.x.x:8180)
|
|
|
|
|
#
|
|
|
|
|
# IMPORTANT: After changing API_URL, just restart containers - NO REBUILD NEEDED!
|
|
|
|
|
# Production: docker-compose -f docker-compose.yml restart frontend
|
|
|
|
|
# Development: docker-compose -f docker-compose.dev.yml restart frontend-dev
|
2026-01-01 14:02:38 +01:00
|
|
|
API_URL=https://backend.domain.de
|
2026-02-27 11:55:30 +01:00
|
|
|
API_PORT=8180
|
2025-08-12 22:09:15 +02:00
|
|
|
|
2026-01-01 14:02:38 +01:00
|
|
|
#- Database Configuration Backend
|
|
|
|
|
DATABASE_TYPE=mysql
|
|
|
|
|
#DATABASE_URL=bamort:your_secure_user_password@tcp(mariadb:3306)/bamort?charset=utf8mb4&parseTime=True&loc=Local
|
2025-08-13 07:14:04 +02:00
|
|
|
|
2026-01-01 14:02:38 +01:00
|
|
|
#- MariaDB Configuration
|
|
|
|
|
MARIADB_ROOT_PASSWORD=your_secure_root_password
|
|
|
|
|
MARIADB_PASSWORD=your_secure_user_password
|
|
|
|
|
MARIADB_DATABASE=bamort
|
|
|
|
|
MARIADB_USER=bamort
|
|
|
|
|
|
|
|
|
|
API_PORT=8180
|
|
|
|
|
BASE_URL=https://frontend.domain.de
|
|
|
|
|
TEMPLATES_DIR=./templates
|
2026-01-02 10:21:29 +01:00
|
|
|
EXPORT_TEMP_DIR=./export_temp
|
|
|
|
|
COMPOSE_PROJECT_NAME=bamort
|
2026-02-27 11:55:30 +01:00
|
|
|
|
|
|
|
|
# Mail Configuration (for development)
|
|
|
|
|
MAIL_HOST=mail.server.de
|
|
|
|
|
MAIL_PORT=465
|
|
|
|
|
MAIL_USERNAME=bamort@server.de
|
|
|
|
|
MAIL_PASSWORD=XXXZZZZZ.YYYXXX
|