Replaces rocky-docker-lxc/, caddy-vm/, monitoring-vm/, and automation/ with a single stacks/ tree grouped by function (identity-and-security, platform, media, productivity, dev-tools) - 55 stacks total, every one a real directory in the private repos today. Resolves all outstanding drift: adds Wazuh (previously entirely missing), Firefly III and Postiz (never mirrored), the internal-zone Caddy instance and the Cron Scheduler's separate NocoDB instance (both previously conflated with their counterparts under one shared folder); renames Calibre-Web to calibre-web-automated and splits Kodi-MariaDB into kodi + mariadb-latest to match what the private repos actually run now; drops the decommissioned NetBox stack. Also removes automation/iac/old-content/ and automation/ansible/old-playbooks/ in the same pass - both folders were entirely stale content describing a superseded architecture (GitLab instead of Gitea, HAProxy+mTLS SSO instead of the current Caddy+Authentik setup), now replaced by docs/iac-pipeline.md.
45 lines
1017 B
YAML
45 lines
1017 B
YAML
services:
|
|
ollama:
|
|
# Uncomment below for GPU support
|
|
# deploy:
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: 1
|
|
# capabilities:
|
|
# - gpu
|
|
volumes:
|
|
- /path/to/ollama:/root/.ollama
|
|
# Uncomment below to expose Ollama API outside the container stack
|
|
ports:
|
|
- "${HTTP_PORT2}:11434"
|
|
container_name: ollama
|
|
pull_policy: always
|
|
tty: true
|
|
restart: unless-stopped
|
|
image: ollama/ollama:latest
|
|
networks:
|
|
- openai-net
|
|
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:latest
|
|
container_name: open-webui
|
|
volumes:
|
|
- /path/to/open-webui:/app/backend/data
|
|
depends_on:
|
|
- ollama
|
|
ports:
|
|
- "${HTTP_PORT}:8080"
|
|
environment:
|
|
- "OLLAMA_BASE_URL=http://ollama:11434"
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
restart: unless-stopped
|
|
networks:
|
|
- openai-net
|
|
|
|
networks:
|
|
openai-net:
|
|
external: true
|