Skip to content

Allow installer to pass env vars#125

Open
vtomasr5 wants to merge 2 commits intoDokploy:mainfrom
vtomasr5:allow-installer-pass-env-vars
Open

Allow installer to pass env vars#125
vtomasr5 wants to merge 2 commits intoDokploy:mainfrom
vtomasr5:allow-installer-pass-env-vars

Conversation

@vtomasr5
Copy link

@vtomasr5 vtomasr5 commented Feb 4, 2026

Add support for optional Docker environment variables in install.sh. Users can now set DOKPLOY_DOCKER_ENVS to pass additional -e flags to the dokploy container (e.g., TZ, PORT, TRAEFIK_PORT, REDIS_HOST).

Example: export DOKPLOY_DOCKER_ENVS="-e TZ=America/New_York -e PORT=4000"

When DOKPLOY_DOCKER_ENVS contains DATABASE_URL, skip creating the dokploy-postgres service and associated Docker secret. When it contains REDIS_HOST, skip creating the dokploy-redis service.

This allows users to use externally managed databases instead of the built-in Docker services.

@vtomasr5 vtomasr5 requested a review from Siumauricio as a code owner February 4, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant