Installation
Uninstallation
How to completely remove COSY from your server.
Docker
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/Magenta-Mause/Cosy/v1.0.3/uninstall_cosy.sh)" _ dockerOptions
| Flag | Description | Default |
|---|---|---|
--path <path> | Base directory containing the cosy/ folder | /opt |
-y, --yes | Skip confirmation prompt | — |
What It Does
- Stops and removes all containers:
docker compose down --volumes --remove-orphans - Force-removes any leftover containers with the
cosy-prefix - Removes the systemd service (if present)
- Deletes the entire installation directory
Warning: This permanently deletes all data including game server volumes, databases, and configuration files.
Kubernetes
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/Magenta-Mause/Cosy/v1.0.3/uninstall_cosy.sh)" _ kubernetesOptions
| Flag | Description | Default |
|---|---|---|
--namespace <ns> | Kubernetes namespace to delete | cosy |
-y, --yes | Skip confirmation prompt | — |
What It Does
Deletes the entire Kubernetes namespace, which removes all deployments, services, secrets, PVCs, and other resources within it.