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

F
FlorianFounder, pipe0
 ·  1 min read
Cover art generated from the post title.

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.

Clay-like data enrichment for your apps & agents. Fast.

Stack pipes on a sheet and run them over every row.

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?