Replies: 3 comments
|
It seems like the issue is related to missing the application encryption key, which is crucial for Laravel-based applications like Coolify. The error in the logs indicates that Coolify is not able to find the encryption key. Suggested Solution:
|
|
@alvarofpp Coolify has different compose files for different environments. This is why we use docker compose overrides: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/ So we have a base compose file You can use the base compose file docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate-> Please make sure you are hosting on Linux as we do not really support MacOS or Windows for hosting Coolify yet. If you want to develop on Coolify (to submit PRs), I do not recommend this manual approach described above (that one is for hosting Coolify). If you are developing for Coolify, please follow this contribution guide in detail, as it also works on Windows and Mac OS without problems. I hope I could help, if you have any further questions, just let me know. |
|
If anyone still looking for a way to run Coolify inside docker, for testing/self-host — full working steps (Coolify v4.x): use this if you want to run Coolify as a container (for testing / playground / not production) 1- docker-compose.yml example: 2- generate SSH key (needed even for local) in Coolify Web UI > Settings > Private Keys > add the private key id_ed25519_coolify Now Coolify will be able to manage local Docker server via this SSH key → and local server validation should work. Notes: Useful troubleshooting commands: To enter the container: |
Uh oh!
There was an error while loading. Please reload this page.
Hello, I hope you're well.
I'm trying to run Coolify locally using Docker Compose, but I'm not succeeding. My goal is to test a possible integration between Coolify, an existing Traefik and Authentik to allow access to Coolify. I'm using the Docker Compose files in the repository as a base, but they don't work (or maybe they need some not-so-intuitive sequence of commands).
My docker-compose file:
I'm currently getting this error:
Does anyone have any
docker-compose.ymlto share that makes it possible to use Coolify?All reactions