mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
a64450ae9d
Replace VitePress/Vue stack with Fumadocs MDX, TanStack Start, React 19, and Vite. Migrate all documentation content to MDX under content/docs/. Add full src/ app with React components, routing, search, and API page. Remove Korrektly integration from CI/CD workflows, Dockerfile, and env vars. Update build pipeline to output to .output/public instead of docs/.vitepress/dist.
112 lines
3.2 KiB
Plaintext
112 lines
3.2 KiB
Plaintext
---
|
|
title: Uninstalling Coolify
|
|
description: Completely remove Coolify from your self-hosted server by stopping containers, deleting volumes, networks, data directories, and Docker images.
|
|
---
|
|
|
|
<ZoomImage src="/docs/images/get-started/uninstallation-banner.webp" alt="Coolify uninstallation banner" />
|
|
|
|
<br />
|
|
|
|
If you're using [Coolify Cloud](https://coolify.io/pricing/), you don't need to uninstall Coolify since the Coolify Team manages everything on their servers.
|
|
|
|
To stop using Coolify Cloud, simply visit the [Billing page](https://app.coolify.io/subscription/) and cancel your subscription.
|
|
|
|
For those who **self-host** Coolify and wish to remove it from your server, follow the steps below to uninstall it safely:
|
|
|
|
- [Stop and Remove Containers](#_1-stop-and-remove-containers)
|
|
- [Remove Docker Volumes](#_2-remove-docker-volumes)
|
|
- [Remove Docker Network](#_3-remove-docker-network)
|
|
- [Delete Coolify Data Directory](#_4-delete-coolify-data-directory)
|
|
- [Remove Docker Images](#_5-remove-docker-images)
|
|
|
|
## 1. Stop and Remove Containers
|
|
|
|
Stop all Coolify-related Docker containers and remove them to free up system resources.
|
|
|
|
Run the following commands in your terminal:
|
|
|
|
```bash
|
|
sudo docker stop -t 0 coolify coolify-realtime coolify-db coolify-redis coolify-proxy coolify-sentinel
|
|
sudo docker rm coolify coolify-realtime coolify-db coolify-redis coolify-proxy coolify-sentinel
|
|
```
|
|
|
|
The `-t 0` flag ensures that the containers stop immediately without waiting for a timeout.
|
|
|
|
## 2. Remove Docker Volumes
|
|
|
|
To remove the persistent data stored in Docker volumes for Coolify, run:
|
|
|
|
```bash
|
|
sudo docker volume rm coolify-db coolify-redis
|
|
```
|
|
|
|
|
|
<Callout type="error" title="CAUTION!!">
|
|
|
|
Removing volumes will delete all data stored in them permanently. Ensure you have backups if needed.
|
|
|
|
</Callout>
|
|
|
|
|
|
## 3. Remove Docker Network
|
|
|
|
Coolify uses a custom Docker network named coolify. Remove it with the following command:
|
|
|
|
```bash
|
|
sudo docker network rm coolify
|
|
```
|
|
|
|
|
|
<Callout type="info" title="Info">
|
|
|
|
If you encounter an error indicating the network is in use, ensure that no containers are using the network before retrying.
|
|
|
|
</Callout>
|
|
|
|
|
|
## 4. Delete Coolify Data Directory
|
|
|
|
Remove the directory where Coolify stores its data on your server:
|
|
|
|
```bash
|
|
sudo rm -rf /data/coolify
|
|
```
|
|
|
|
|
|
<Callout type="error" title="CAUTION!">
|
|
|
|
This will permanently delete all Coolify-related data. Double-check the directory path before executing this command.
|
|
|
|
</Callout>
|
|
|
|
|
|
## 5. Remove Docker Images
|
|
|
|
To free up disk space, remove all Docker images used by Coolify by running the following commands:
|
|
|
|
```bash
|
|
sudo docker rmi ghcr.io/coollabsio/coolify:latest
|
|
sudo docker rmi ghcr.io/coollabsio/coolify-helper:latest
|
|
sudo docker rmi quay.io/soketi/soketi:1.6-16-alpine
|
|
sudo docker rmi postgres:15-alpine
|
|
sudo docker rmi redis:alpine
|
|
```
|
|
|
|
If you were using the default proxy, also remove its image:
|
|
|
|
```bash
|
|
sudo docker rmi traefik:v3.1
|
|
```
|
|
|
|
If you switched to the Caddy proxy, remove its image instead:
|
|
|
|
```bash
|
|
sudo docker rmi lucaslorentz/caddy-docker-proxy:2.8-alpine
|
|
```
|
|
|
|
---
|
|
|
|
### Coolify Successfully Uninstalled
|
|
|
|
After completing these steps, Coolify and all its related resources will be completely removed from your server.
|