Changing the Deployment Domain
When deploying RepoFlow, the default configuration is set to run on localhost. This guide will help you change the domain from localhost to any domain.
Changes in the Server Environment
In your docker-compose.yml, update the following environment variables in the server service:
-
FRONTEND_URL
- Example:
https://my-repoflow.com
- Example:
-
SERVER_URL
- Example:
https://my-repoflow.com/api
- Example:
-
COOKIE_DOMAIN (optional, usually no need to change)
- By default, this is derived from
FRONTEND_URL(its hostname). - Set this only if you need a specific cookie domain.
- Example:
my-repoflow.com
- By default, this is derived from
-
COOKIE_SECURE (optional, usually no need to change)
- By default, this is derived from
FRONTEND_URL:https://...->truehttp://...->false
- Set this only if you need to override the default.
- Example:
true
- By default, this is derived from
Helm Chart Configuration
server:
environment:
FRONTEND_URL: "https://my-repoflow.com"
SERVER_URL: "https://my-repoflow.com/api"
COOKIE_DOMAIN: "my-repoflow.com"
COOKIE_SECURE: "true"
Applying Changes
-
Update the
docker-compose.ymlfiles as outlined above. -
Restart the services:
Command Linedocker-compose down
docker-compose up -d
With these updates, your RepoFlow instance will now use your custom domain with the appropriate secure settings.