diff --git a/docker-compose.yml b/docker-compose.yml index b7bc520..cc57585 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,13 +7,14 @@ services: - "3000:3000" environment: # Database Connection Configuration - # Define these variables in your .env file or deployment environment - - DB_TYPE=${DB_TYPE:-mysql} - - DB_HOST=${DB_HOST:-host.docker.internal} - - DB_PORT=${DB_PORT:-3306} - - DB_USER=${DB_USER:-user} - - DB_PASSWORD=${DB_PASSWORD:-password} - - DB_NAME=${DB_NAME:-n8n_templates} + # We removed the ':-default' syntax. + # Now, the container will strictly use what is provided by the host environment. + - DB_TYPE=${DB_TYPE} + - DB_HOST=${DB_HOST} + - DB_PORT=${DB_PORT} + - DB_USER=${DB_USER} + - DB_PASSWORD=${DB_PASSWORD} + - DB_NAME=${DB_NAME} # Application Keys - - API_KEY=${API_KEY} \ No newline at end of file + - API_KEY=${API_KEY}