How to use in Coolify? #8002
Replies: 1 comment
-
Hey @AlejandroAkbal, you can of course directly use the However, as you may notice, there are certain config files being read by the containers. Let's consider the
The config file used by the app server in the Docker Compose setup contains multiple values, some of which must be specified for the application to even start. These values include things like the database URL, Redis URL, etc., which are absolutely necessary for the application to function. Similarly, the control center service also requires a config file to be specified: hyperswitch/docker-compose.yml Lines 214 to 217 in d07a85c Sure, you can also choose to specify the same app server configs as environment variables instead of specifying them in the TOML file. This snippet: hyperswitch/config/docker_compose.toml Lines 1 to 4 in d07a85c Can be specified using environment variables as (to give you an idea): ROUTER__SERVER__PORT=8080
ROUTER__SERVER__HOST="0.0.0.0"
ROUTER__SERVER__REQUEST_BODY_LIMIT=16384 But this list would explode when you try to convert all of the configs in the TOML config files to environment variables, which can tend to cause errors. So, I'd suggest you to use the TOML files as much as possible (or to provide sensible defaults at least), and use environment variables for values that would need to be overridden (such as database URL, etc.). I'd also suggest you to check the README in the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently you have to run it through the setup script, which in turn uses Docker Compose
This makes it very complicated to run in open source PaaS like https://github.com/coollabsio/coolify, https://github.com/dokku/dokku and others
How can I use the Docker compose directly? Without any script setup, just defining a Docker compose file and running it, ideally without the need to download this repo, just using online docker images
Beta Was this translation helpful? Give feedback.
All reactions