Using docker-compose commands with dokploy
Hi everyone,
I'm new here and not sure how Dokploy exactly works. π§
I set up a new server with a fresh installation of Ubuntu Server and Dokploy, and deployed my first service using the "n8n" template. Everything runs smoothly.
My issue is, when I log through SSH to my server and try using docker-compose commands (like "docker-compose ps"), I get "docker-compose not found" and I am prompted to install it. Does this mean Dokploy doesn't install docker-compose, or that I should not use docker-compose commands with Dokploy? π
Thank you in advance.
8 Replies
I think depending on the os it moved to
docker compose
Eitherway does Dokploy use docker compose and swarm/services to deploy the application πThanks. Is there any way I can run docker compose commands to monitor or contronl containers running in dokploy ?
Why running command? Dokploy provides all that in the UI
Running commands will help write scripts to control and automate my containers based on events external to dokploy.
I would suggest to use the dokploy api instead of running commands
@DJKnaeckebrot dockplay already install composer, I think you are using the wrong command or trying exec inside a container not in your vps.
Yeah dokploy installs docker compose by default, I just recommend using the api as the compose names are pretty long and confusing, for the api you just need to add the id and itβll do everything you want it to do
Great! I'll use the API then. Thank you for the feedback