mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 16:16:47 +00:00
17 lines
749 B
Bash
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 |