COSY Docs
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)" _ docker

Options

FlagDescriptionDefault
--path <path>Base directory containing the cosy/ folder/opt
-y, --yesSkip confirmation prompt

What It Does

  1. Stops and removes all containers: docker compose down --volumes --remove-orphans
  2. Force-removes any leftover containers with the cosy- prefix
  3. Removes the systemd service (if present)
  4. 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)" _ kubernetes

Options

FlagDescriptionDefault
--namespace <ns>Kubernetes namespace to deletecosy
-y, --yesSkip confirmation prompt

What It Does

Deletes the entire Kubernetes namespace, which removes all deployments, services, secrets, PVCs, and other resources within it.

On this page