-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Problem Description
I've been attempting to deploy R2R using Coolify (via public repo/docker compose) without success after many hours of troubleshooting.
I'm using the docker compose file which requires different .env files for different services.
The core issue is that R2R requires two separate postgres services with different environment variables defined in the env folder. These are attached to each service using the env_file: directive in the compose.yml.
However, Coolify takes these variables, puts them into the Environment Variables tab, and replaces the custom env_file paths with its own .env file. This approach fails when dealing with two postgres databases that use the same environment variable names.
Questions
- Is there a workaround for this scenario?
- Will Coolify support an array of
env_filedirectives in compose.yml and extend its own .env file when one already exists?
My team would greatly appreciate any assistance with this issue.
Steps to Reproduce
- Public Repository
- https://github.com/SciPhi-AI/R2R
- Base Directory
/docker& Build PackDocker Compose(compose.full.yaml) - Deploy
Example Repository URL
https://github.com/SciPhi-AI/R2R/tree/main/docker
Coolify Version
v4.0.0-beta.407
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.4 LTS
Additional Information
No response