OBP-API/development/docker/.env
2025-11-27 16:37:16 +01:00

17 lines
749 B
Bash

# Docker Compose Environment Configuration for OBP-API Development
# Redis Configuration
# Set custom Redis port (externally exposed port)
# The Redis container will be accessible on this port from the host machine
# Default is 6380 to avoid conflicts with local Redis on 6379
OBP_CACHE_REDIS_PORT=6380
# Database Configuration
# Set custom database URL for Docker environment
# Default connects to host PostgreSQL via host.docker.internal
OBP_DB_URL=jdbc:postgresql://host.docker.internal:5432/obp_mapped?user=obp&password=f
# You can override these by setting environment variables:
# export OBP_CACHE_REDIS_PORT=6381
# export OBP_DB_URL="jdbc:postgresql://host.docker.internal:5432/mydb?user=myuser&password=mypass"
# docker-compose up --build