fix: ensure environment variables are loaded correctly in Docker (#49)
* feat: add reverse proxy support with configurable base path and trust proxy settings * fix: ensure environment variables are loaded correctly in Docker - Move dotenv config to the top of server.js - Update docker-compose.yml to properly handle .env file - Remove duplicate environment variables section This ensures BASE_PATH and TRUST_PROXY work as expected in both Docker and local environments.
This commit is contained in:
parent
f8e2ee248b
commit
364c8fe647
2 changed files with 4 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ services:
|
|||
restart: always
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file: .env
|
||||
environment:
|
||||
# Core Configuration
|
||||
- BASE_WEBHOOK_URL=http://localhost:3000/localCallbackExample
|
||||
|
|
|
|||
Loading…
Reference in a new issue