· Engineering · 1 min read

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

Learn how to locate the docker compose file in a Coolify stack

Florian, Founder

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.

Next-gen enrichment & search.

Build revenue systems that scale. For humans, agents, and apps. Replace tools like Clay, n8n, Hightouch, etc.

selectedRun
InputHDFind work email
NameWork email
Ada ByrneHa.byrne@acme.io
Leo CostaDl.costa@northbeam.co
Mia ChenRunning...
New empty row
Using pipe0 at work?