Skip to Content
How to find the docker compose file in coolify to read stack logs

How to find the docker compose file in coolify to read stack logs

In certain situations, it is helpful to have access to the docker-compose.yaml file in Coolify.

This allows you to run docker compose commands for any application stack in coolify.

In my case, I was looking to read application logs. I was trying to catch a log from a SIGTERM event and the logs were not showing up in the coolify dashboard because the container exited too fast.

I wanted to run the command:

docker compose logs

Locating the docker-compose file

Coolify manages the docker compose files in a top-level directory:

/data/coolify/applications/application_id

In order to access it, switch into a root shell sudo su and navigate to cd /data/coolify/applications/.

Find the application id for your project and enter the folder with the corresponding id.

Within the folder, you will find the docker-compose.yaml file.

logo-dark
Add clay-like data enrichment to your application. Fast.
Last updated on