diff --git a/Gitea.md b/Gitea.md index 05eef0f..0fb27a8 100644 --- a/Gitea.md +++ b/Gitea.md @@ -2,9 +2,13 @@ Git hosting running on Agap via Docker. -## Compose +## Configuration -See `gitea/docker-compose.yml`. +Configuration is in the `agap_git` repository: +- Compose file: `gitea/docker-compose.yml` +- PostgreSQL data: `gitea/postgres/` + +Repository: https://github.com/alvis/agap_git ## Access diff --git a/Hello.md b/Hello.md index 8765ccb..4d88ff5 100644 --- a/Hello.md +++ b/Hello.md @@ -10,7 +10,9 @@ This repository contains Docker Compose files, configuration templates, and depl | Service | Purpose | |---------|---------| +| Immich | Photo management and backup | | Gitea | Git repository hosting | +| Open WebUI | AI chat interface (GPU-accelerated) | | Home Assistant | Home automation | | 3X-UI | VPN / proxy | diff --git a/Home.md b/Home.md index 172802e..543d51c 100644 --- a/Home.md +++ b/Home.md @@ -7,9 +7,11 @@ ## Services +- [[Immich]] — Photo management and backup +- [[Gitea]] — Git hosting +- [[Open-WebUI]] — AI chat interface - [[Home-Assistant]] — KVM virtual machine - [[3X-UI]] — VPN proxy -- [[Gitea]] — Git hosting ## Quick Start diff --git a/Immich.md b/Immich.md new file mode 100644 index 0000000..5c4a670 --- /dev/null +++ b/Immich.md @@ -0,0 +1,47 @@ +# Immich + +Photo management and backup via Docker. + +## Configuration + +Configuration is in the `agap_git` repository: +- Compose file: `immich-app/docker-compose.yml` +- Environment: `.env` (Immich settings, database, storage paths) + +Repository: https://github.com/alvis/agap_git + +## Access + +- Web: `http://agap:2283` + +## Storage + +| Path | Contents | +|------|----------| +| `/mnt/media/upload` | Original uploaded photos | +| `/mnt/ssd1/media/thumbs` | Thumbnail cache | +| `/mnt/ssd1/media/encoded-video` | Transcoded video cache | +| `/mnt/ssd1/media/postgres` | PostgreSQL database | + +## Stack + +- Immich server +- Immich machine learning (CPU or GPU) +- PostgreSQL 14 (with vector extensions) +- Valkey (Redis alternative) + +## Commands + +```bash +# Restore from backup +cd /path/to/agap_git +docker compose down -v # WARNING: deletes all data +docker compose create +docker start immich_postgres +sleep 10 +gunzip --stdout "/path/to/dump.sql.gz" | \ + docker exec -i immich_postgres psql --dbname=postgres --username=postgres +docker compose up -d +``` + +For more details, see `immich-app/restore_example.sh`. diff --git a/Open-WebUI.md b/Open-WebUI.md new file mode 100644 index 0000000..8785ba2 --- /dev/null +++ b/Open-WebUI.md @@ -0,0 +1,35 @@ +# Open WebUI + +AI chat interface with Ollama, GPU-accelerated via NVIDIA. + +## Configuration + +Configuration is in the `agap_git` repository: +- Compose file: `openai/docker-compose.yml` + +Repository: https://github.com/alvis/agap_git + +## Access + +- Web: `http://agap:3125` + +## Data + +| Path | Contents | +|------|----------| +| Docker volume `ollama` | Ollama models | +| Docker volume `open-webui` | Web UI data and settings | + +## GPU + +Requires NVIDIA GPU support: +```bash +sudo ./nvidia-docker-install.sh +./install-cuda.sh +``` + +## Stack + +- Open WebUI (NVIDIA/Ollama variant) +- Ollama (LLM runtime) +- NVIDIA Container Toolkit for GPU acceleration