Compare commits

...
2 Commits
Author SHA1 Message Date
pidgey fc66afc1e1 Separate data from config 2026-07-06 22:21:17 +02:00
pidgey ab5abaa057 Make container names more unique to avoid conflict 2026-07-03 21:04:55 +02:00
+28 -26
View File
@@ -1,7 +1,7 @@
services:
squid:
haf_squid:
image: ubuntu/squid:latest
container_name: squid
container_name: haf_squid
volumes:
- ./docker/squid/squid.conf:/etc/squid/squid.conf:ro
- ./docker/squid/whitelist.txt:/etc/squid/whitelist.txt:ro
@@ -9,16 +9,16 @@ services:
- ./docker/squid/errors/:/etc/squid/errors/:ro
restart: unless-stopped
networks:
- squid_net
- public_net
- haf_squid_net
- haf_public_net
# # # # # #
# Hermes #
# # # # # #
hermes:
haf_hermes:
image: nousresearch/hermes-agent:latest
container_name: hermes
container_name: haf_hermes
restart: unless-stopped
command: gateway run
environment:
@@ -33,12 +33,13 @@ services:
- "8642:8642"
- "9119:9119"
networks:
- llama_net
- public_net
- haf_llama_net
- haf_public_net
depends_on:
- llama-vulkan
- haf_llama-vulkan
volumes:
- ./data/hermes/open/:/opt/data
- ./data/hermes/config/open/:/opt/data
- ./data/hermes/data/open/:/opt/data/workspace
deploy:
resources:
limits:
@@ -46,13 +47,13 @@ services:
cpus: "2.0"
hermes-restricted:
haf_hermes-restricted:
image: nousresearch/hermes-agent:latest
container_name: hermes-restricted
container_name: haf_hermes-restricted
environment:
HTTP_PROXY: http://squid:3128
HTTPS_PROXY: http://squid:3128
NO_PROXY: localhost,127.0.0.1,llama-vulkan
HTTP_PROXY: http://haf_squid:3128
HTTPS_PROXY: http://haf_squid:3128
NO_PROXY: localhost,127.0.0.1,haf_llama-vulkan
API_SERVER_ENABLED: true
API_SERVER_HOST: 0.0.0.0
API_SERVER_KEY: ${HERMES_API_SERVER_KEY}
@@ -62,13 +63,14 @@ services:
- ".env"
restart: unless-stopped
networks:
- squid_net
- llama_net
- haf_squid_net
- haf_llama_net
depends_on:
- squid
- llama-vulkan
- haf_squid
- haf_llama-vulkan
volumes:
- ./data/hermes/restricted/:/opt/data
- ./data/hermes/config/restricted/:/opt/data
- ./data/hermes/data/restricted/:/opt/data/workspace
deploy:
resources:
limits:
@@ -78,9 +80,9 @@ services:
# # # # #
# Llama #
# # # # #
llama-vulkan:
haf_llama-vulkan:
image: ghcr.io/ggml-org/llama.cpp:server-vulkan
container_name: llama-vulkan
container_name: haf_llama-vulkan
ports:
- "8080:8080"
volumes:
@@ -96,12 +98,12 @@ services:
${LLAMA_ARGS}
restart: unless-stopped
networks:
- llama_net
- haf_llama_net
networks:
llama_net:
haf_llama_net:
internal: true
squid_net:
haf_squid_net:
internal: true
public_net:
haf_public_net: