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: services:
squid: haf_squid:
image: ubuntu/squid:latest image: ubuntu/squid:latest
container_name: squid container_name: haf_squid
volumes: volumes:
- ./docker/squid/squid.conf:/etc/squid/squid.conf:ro - ./docker/squid/squid.conf:/etc/squid/squid.conf:ro
- ./docker/squid/whitelist.txt:/etc/squid/whitelist.txt:ro - ./docker/squid/whitelist.txt:/etc/squid/whitelist.txt:ro
@@ -9,16 +9,16 @@ services:
- ./docker/squid/errors/:/etc/squid/errors/:ro - ./docker/squid/errors/:/etc/squid/errors/:ro
restart: unless-stopped restart: unless-stopped
networks: networks:
- squid_net - haf_squid_net
- public_net - haf_public_net
# # # # # # # # # # # #
# Hermes # # Hermes #
# # # # # # # # # # # #
hermes: haf_hermes:
image: nousresearch/hermes-agent:latest image: nousresearch/hermes-agent:latest
container_name: hermes container_name: haf_hermes
restart: unless-stopped restart: unless-stopped
command: gateway run command: gateway run
environment: environment:
@@ -33,12 +33,13 @@ services:
- "8642:8642" - "8642:8642"
- "9119:9119" - "9119:9119"
networks: networks:
- llama_net - haf_llama_net
- public_net - haf_public_net
depends_on: depends_on:
- llama-vulkan - haf_llama-vulkan
volumes: volumes:
- ./data/hermes/open/:/opt/data - ./data/hermes/config/open/:/opt/data
- ./data/hermes/data/open/:/opt/data/workspace
deploy: deploy:
resources: resources:
limits: limits:
@@ -46,13 +47,13 @@ services:
cpus: "2.0" cpus: "2.0"
hermes-restricted: haf_hermes-restricted:
image: nousresearch/hermes-agent:latest image: nousresearch/hermes-agent:latest
container_name: hermes-restricted container_name: haf_hermes-restricted
environment: environment:
HTTP_PROXY: http://squid:3128 HTTP_PROXY: http://haf_squid:3128
HTTPS_PROXY: http://squid:3128 HTTPS_PROXY: http://haf_squid:3128
NO_PROXY: localhost,127.0.0.1,llama-vulkan NO_PROXY: localhost,127.0.0.1,haf_llama-vulkan
API_SERVER_ENABLED: true API_SERVER_ENABLED: true
API_SERVER_HOST: 0.0.0.0 API_SERVER_HOST: 0.0.0.0
API_SERVER_KEY: ${HERMES_API_SERVER_KEY} API_SERVER_KEY: ${HERMES_API_SERVER_KEY}
@@ -62,13 +63,14 @@ services:
- ".env" - ".env"
restart: unless-stopped restart: unless-stopped
networks: networks:
- squid_net - haf_squid_net
- llama_net - haf_llama_net
depends_on: depends_on:
- squid - haf_squid
- llama-vulkan - haf_llama-vulkan
volumes: volumes:
- ./data/hermes/restricted/:/opt/data - ./data/hermes/config/restricted/:/opt/data
- ./data/hermes/data/restricted/:/opt/data/workspace
deploy: deploy:
resources: resources:
limits: limits:
@@ -78,9 +80,9 @@ services:
# # # # # # # # # #
# Llama # # Llama #
# # # # # # # # # #
llama-vulkan: haf_llama-vulkan:
image: ghcr.io/ggml-org/llama.cpp:server-vulkan image: ghcr.io/ggml-org/llama.cpp:server-vulkan
container_name: llama-vulkan container_name: haf_llama-vulkan
ports: ports:
- "8080:8080" - "8080:8080"
volumes: volumes:
@@ -96,12 +98,12 @@ services:
${LLAMA_ARGS} ${LLAMA_ARGS}
restart: unless-stopped restart: unless-stopped
networks: networks:
- llama_net - haf_llama_net
networks: networks:
llama_net: haf_llama_net:
internal: true internal: true
squid_net: haf_squid_net:
internal: true internal: true
public_net: haf_public_net: