first commit

This commit is contained in:
2025-11-24 00:30:36 +01:00
commit aef53eb953
12 changed files with 2202 additions and 0 deletions

28
docs/docker.md Normal file
View File

@@ -0,0 +1,28 @@
# Docker
## Remove Docker Containers
⚠️ WARNING: Data Loss Imminent
The following command will delete ALL Docker data, including stopped containers, images, and volumes (which contain persistent application data like databases, configurations, and git repositories).
1. Permanently erase all docker containers in `docker-compose.yml`.
```bash
cd /srv/infra
sudo docker compose down -v --rmi all --remove-orphans
```
2. Permanently delete Bind Mount data.
```bash
sudo rm -rf ./gitea-data
sudo rm -rf ./gitea-runner-data
```
3. Verify that no components remain.
```bash
sudo docker ps -a
sudo docker images -a
sudo docker volume ls
```