2026-02-22 18:35:22 -05:00
|
|
|
services:
|
2026-04-27 05:47:46 -04:00
|
|
|
hermes:
|
2026-05-10 17:55:17 -04:00
|
|
|
build:
|
|
|
|
|
context: ./hermes
|
2026-04-27 05:47:46 -04:00
|
|
|
container_name: hermes
|
|
|
|
|
restart: always
|
2026-07-07 22:21:36 -04:00
|
|
|
command: gateway run
|
2026-04-27 05:47:46 -04:00
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- HERMES_UID=10000
|
|
|
|
|
- HERMES_GID=10000
|
|
|
|
|
- OLLAMA_HOST=http://ollama-cpu:11434
|
|
|
|
|
- HERMES_DASHBOARD=1
|
|
|
|
|
- API_SERVER_ENABLED=true
|
|
|
|
|
- API_SERVER_PORT=8642
|
|
|
|
|
- API_SERVER_HOST=0.0.0.0
|
|
|
|
|
- API_SERVER_KEY=hermes_local_key
|
|
|
|
|
- GATEWAY_ALLOW_ALL_USERS=true
|
|
|
|
|
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
|
|
|
|
- OPENCODE_API_KEY=${OPENCODE_API_KEY}
|
|
|
|
|
- HSA_OVERRIDE_GFX_VERSION=9.0.6
|
|
|
|
|
- HCC_AMDGPU_TARGET=gfx906
|
|
|
|
|
- HIP_VISIBLE_DEVICES=0,1
|
|
|
|
|
- ROCR_VISIBLE_DEVICES=0,1
|
|
|
|
|
- HSA_ENABLE_SDMA=0
|
|
|
|
|
- TZ=America/Montreal
|
2026-04-27 05:47:46 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Hermes/data:/opt/data
|
|
|
|
|
- /mnt/HoardingCow_docker_data/Hermes/Syncthing/ExoKortex:/opt/data/ExoKortex
|
2026-04-27 05:47:46 -04:00
|
|
|
devices:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /dev/kfd:/dev/kfd
|
|
|
|
|
- /dev/dri:/dev/dri
|
2026-04-27 05:47:46 -04:00
|
|
|
group_add:
|
2026-09-15 17:18:28 -04:00
|
|
|
- '303'
|
|
|
|
|
- '26'
|
2026-04-27 05:47:46 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
ai_backend: null
|
|
|
|
|
ai_net: null
|
|
|
|
|
vpn_net:
|
|
|
|
|
ipv4_address: 172.24.0.5
|
2026-05-11 19:02:36 -04:00
|
|
|
depends_on:
|
2026-09-15 17:18:28 -04:00
|
|
|
- honcho
|
2026-05-20 13:14:10 -04:00
|
|
|
labels:
|
2026-09-15 17:18:28 -04:00
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.docker.network=ai_net
|
|
|
|
|
- traefik.http.routers.hermes-web-http.rule=Host(`hermes.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.hermes-web-http.entrypoints=web
|
|
|
|
|
- traefik.http.routers.hermes-web-http.middlewares=redirect-to-https
|
|
|
|
|
- traefik.http.routers.hermes-web-https.rule=Host(`hermes.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.hermes-web-https.entrypoints=websecure
|
|
|
|
|
- traefik.http.routers.hermes-web-https.tls=true
|
|
|
|
|
- traefik.http.routers.hermes-web-https.tls.certresolver=njalla
|
|
|
|
|
- traefik.http.routers.hermes-web-https.middlewares=hermes-auth
|
|
|
|
|
- traefik.http.middlewares.hermes-auth.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.lazyworkhorse.net/
|
|
|
|
|
- traefik.http.middlewares.hermes-auth.forwardauth.trustforwardheader=true
|
|
|
|
|
- traefik.http.middlewares.hermes-auth.forwardauth.authresponseheaders=X-Forwarded-User,X-Forwarded-Groups
|
|
|
|
|
- traefik.http.services.hermes-web.loadbalancer.server.port=9119
|
2026-05-14 21:35:31 -04:00
|
|
|
syncthing:
|
|
|
|
|
image: syncthing/syncthing:latest
|
|
|
|
|
container_name: syncthing
|
|
|
|
|
hostname: syncthing
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
2026-09-15 17:18:28 -04:00
|
|
|
- 8384:8384
|
|
|
|
|
- 22000:22000
|
|
|
|
|
- 21027:21027/udp
|
2026-05-14 21:35:31 -04:00
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- TZ=America/Montreal
|
|
|
|
|
- PUID=10000
|
|
|
|
|
- PGID=10000
|
2026-05-14 21:35:31 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Hermes/Syncthing/config:/var/syncthing/config
|
|
|
|
|
- /mnt/HoardingCow_docker_data/Hermes/Syncthing/ExoKortex:/ExoKortex
|
2026-05-14 21:35:31 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
|
|
|
|
- ai_net
|
2026-05-14 21:40:00 -04:00
|
|
|
labels:
|
2026-09-15 17:18:28 -04:00
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.docker.network=ai_net
|
|
|
|
|
- traefik.http.routers.syncthing-http.rule=Host(`syncthing.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.syncthing-http.entrypoints=web
|
|
|
|
|
- traefik.http.routers.syncthing-http.middlewares=redirect-to-https
|
|
|
|
|
- traefik.http.routers.syncthing-https.rule=Host(`syncthing.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.syncthing-https.entrypoints=websecure
|
|
|
|
|
- traefik.http.routers.syncthing-https.tls=true
|
|
|
|
|
- traefik.http.routers.syncthing-https.tls.certresolver=njalla
|
|
|
|
|
- traefik.http.routers.syncthing-https.middlewares=hermes-auth
|
|
|
|
|
- traefik.http.services.syncthing.loadbalancer.server.port=8384
|
2026-07-07 14:29:23 -04:00
|
|
|
ollama-cpu:
|
2026-05-09 21:18:37 -04:00
|
|
|
build:
|
|
|
|
|
context: ./ollama
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
image: ollama/ollama:rocm-gfx906
|
2026-07-07 14:29:23 -04:00
|
|
|
container_name: ollama-cpu
|
2026-04-27 05:47:46 -04:00
|
|
|
tty: true
|
2026-09-15 17:18:28 -04:00
|
|
|
restart: always
|
2026-04-27 05:47:46 -04:00
|
|
|
ports:
|
2026-09-15 17:18:28 -04:00
|
|
|
- 127.0.0.1:11434:11434
|
2026-04-27 05:47:46 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
2026-04-27 05:47:46 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Ollama/ollama:/root/.ollama
|
2026-04-27 05:47:46 -04:00
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- OLLAMA_VULKAN=0
|
|
|
|
|
- OLLAMA_HOST=0.0.0.0
|
2026-06-11 11:41:42 -04:00
|
|
|
llama-cpp-hermes:
|
|
|
|
|
image: llama-cpp:rocm-gfx906
|
|
|
|
|
container_name: llama-cpp-hermes
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
2026-06-11 11:41:42 -04:00
|
|
|
ports:
|
2026-09-15 17:18:28 -04:00
|
|
|
- 127.0.0.1:8300:8080
|
2026-06-11 11:41:42 -04:00
|
|
|
ipc: host
|
2026-04-27 05:47:46 -04:00
|
|
|
devices:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /dev/kfd:/dev/kfd
|
|
|
|
|
- /dev/dri:/dev/dri
|
2026-04-27 05:47:46 -04:00
|
|
|
group_add:
|
2026-09-15 17:18:28 -04:00
|
|
|
- '303'
|
|
|
|
|
- '26'
|
2026-06-11 11:41:42 -04:00
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- HSA_OVERRIDE_GFX_VERSION=9.0.6
|
|
|
|
|
- HSA_ENABLE_SDMA=0
|
|
|
|
|
- HIP_VISIBLE_DEVICES=0,1
|
|
|
|
|
- LLAMA_CACHE=/models
|
2026-06-11 11:41:42 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Llama_cpp/models:/models
|
|
|
|
|
- /mnt/HoardingCow_docker_data/Ollama/ollama/models/blobs/sha256-17823599694fa3503ef54bf748d5078c6ce881f4d01616cafa255dc05d215a08:/model.gguf:ro
|
|
|
|
|
command: '-m /model.gguf --host 0.0.0.0 --port 8080 --gpu-layers 99 --ctx-size
|
|
|
|
|
163840 -ctk f16 -ctv f16 --flash-attn on --split-mode layer --no-mmap --n-predict
|
|
|
|
|
-1
|
2026-04-27 05:47:46 -04:00
|
|
|
|
2026-09-15 17:18:28 -04:00
|
|
|
'
|
2026-05-25 16:04:19 -04:00
|
|
|
honcho:
|
2026-05-25 16:03:12 -04:00
|
|
|
build:
|
|
|
|
|
context: ./honcho
|
|
|
|
|
ssh:
|
2026-09-15 17:18:28 -04:00
|
|
|
- default
|
2026-05-23 08:34:32 -04:00
|
|
|
container_name: honcho
|
2026-05-11 19:02:36 -04:00
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- DB_CONNECTION_URI=postgresql+psycopg://honcho:honcho_pass@honcho-db:5432/honcho
|
|
|
|
|
- CACHE_URL=redis://honcho-redis:6379/0
|
|
|
|
|
- CACHE_ENABLED=true
|
|
|
|
|
- EMBEDDING_VECTOR_DIMENSIONS=1024
|
|
|
|
|
- AUTH_USE_AUTH=true
|
|
|
|
|
- AUTH_JWT_SECRET=${HONCHO_AUTH_JWT_SECRET}
|
|
|
|
|
- HONCHO_OPENAI_API_KEY=${HONCHO_OPENAI_API_KEY}
|
2026-05-11 19:02:36 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Honcho/data:/app/data
|
|
|
|
|
- /mnt/HoardingCow_docker_data/Honcho/config.toml:/app/config.toml:ro
|
2026-05-11 19:02:36 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
|
|
|
|
- ai_net
|
2026-05-22 23:54:24 -04:00
|
|
|
labels:
|
2026-09-15 17:18:28 -04:00
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.docker.network=ai_net
|
|
|
|
|
- traefik.http.routers.honcho-http.rule=Host(`honcho.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.honcho-http.entrypoints=web
|
|
|
|
|
- traefik.http.routers.honcho-http.middlewares=redirect-to-https
|
|
|
|
|
- traefik.http.routers.honcho-https.rule=Host(`honcho.lazyworkhorse.net`)
|
|
|
|
|
- traefik.http.routers.honcho-https.entrypoints=websecure
|
|
|
|
|
- traefik.http.routers.honcho-https.tls=true
|
|
|
|
|
- traefik.http.routers.honcho-https.tls.certresolver=njalla
|
|
|
|
|
- traefik.http.routers.honcho-https.middlewares=hermes-auth
|
|
|
|
|
- traefik.http.services.honcho.loadbalancer.server.port=80
|
2026-05-11 19:02:36 -04:00
|
|
|
depends_on:
|
2026-09-15 17:18:28 -04:00
|
|
|
- honcho-db
|
|
|
|
|
- honcho-redis
|
2026-05-11 19:02:36 -04:00
|
|
|
honcho-db:
|
|
|
|
|
image: pgvector/pgvector:pg15
|
|
|
|
|
container_name: honcho-db
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
2026-09-15 17:18:28 -04:00
|
|
|
- 127.0.0.1:5432:5432
|
|
|
|
|
command:
|
|
|
|
|
- postgres
|
|
|
|
|
- -c
|
|
|
|
|
- max_connections=200
|
2026-05-11 19:02:36 -04:00
|
|
|
environment:
|
2026-09-15 17:18:28 -04:00
|
|
|
- POSTGRES_DB=honcho
|
|
|
|
|
- POSTGRES_USER=honcho
|
|
|
|
|
- POSTGRES_PASSWORD=honcho_pass
|
|
|
|
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
2026-05-11 19:02:36 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Honcho/postgres:/var/lib/postgresql/data
|
|
|
|
|
- ./honcho/init-db.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
2026-05-11 19:02:36 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
2026-05-11 19:02:36 -04:00
|
|
|
honcho-redis:
|
|
|
|
|
image: redis:8
|
|
|
|
|
container_name: honcho-redis
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
2026-09-15 17:18:28 -04:00
|
|
|
- 127.0.0.1:6379:6379
|
2026-05-11 19:02:36 -04:00
|
|
|
volumes:
|
2026-09-15 17:18:28 -04:00
|
|
|
- /mnt/HoardingCow_docker_data/Honcho/redis:/data
|
2026-05-11 19:02:36 -04:00
|
|
|
networks:
|
2026-09-15 17:18:28 -04:00
|
|
|
- ai_backend
|
2026-04-27 05:47:46 -04:00
|
|
|
networks:
|
|
|
|
|
ai_net:
|
2026-07-07 14:11:31 -04:00
|
|
|
driver: bridge
|
2026-04-27 05:47:46 -04:00
|
|
|
name: ai_net
|
|
|
|
|
ai_backend:
|
|
|
|
|
driver: bridge
|
|
|
|
|
name: ai_backend
|
2026-09-15 15:28:51 -04:00
|
|
|
vpn_net:
|
|
|
|
|
external: true
|
|
|
|
|
name: vpn_net
|
2026-05-25 13:10:03 -04:00
|
|
|
volumes:
|
|
|
|
|
honcho_data:
|
2026-07-07 14:11:31 -04:00
|
|
|
driver: bridge
|
2026-05-25 13:10:03 -04:00
|
|
|
name: honcho_data
|