A guide on how to uninstall the self-hosted version of Coolify from your server.

    To uninstall the self-hosted version of Coolify from your server, follow these steps:

    1. Stop and Remove Containers:

    Use the following command to stop the Coolify containers with a timeout of 0, ensuring they stop immediately, and then remove them:

    1. sudo docker stop -t 0 coolify coolify-realtime coolify-db coolify-redis coolify-proxy
    2. sudo docker rm coolify coolify-realtime coolify-db coolify-redis coolify-proxy
    1. Remove Docker Volumes:

    Execute the command below to remove the Docker volumes associated with Coolify:

    1. sudo docker volume rm coolify-db coolify-redis
    1. Remove Docker Network:

    Remove the custom Docker network named “coolify”:

    1. sudo docker network rm coolify
    1. Delete Coolify Data Directory:

    Delete the directory where Coolify data is stored:

    1. sudo rm -rf /data/coolify
    1. Remove Docker Images:

    Use the following commands to remove the Docker images used by Coolify:

    1. sudo docker rmi ghcr.io/coollabsio/coolify:latest
    2. sudo docker rmi ghcr.io/coollabsio/coolify-helper:latest
    3. sudo docker rmi quay.io/soketi/soketi:1.6-16-alpine
    4. sudo docker rmi postgres:15-alpine
    5. sudo docker rmi redis:alpine
    6. sudo docker rmi traefik:v2.10

    After completing these steps, Coolify will be uninstalled from your server.