clone

a self-hosted multitenant nostr relay with sites, file storage, git hosting, and inbox and outbox delivery

feat/ui-updates
tinyrelay / labs / hermes / compose.yaml
compose.yaml 2.7K
1name: tinyhermeslab23x-tools: &tools4 image: tinyagent-lab-tools5 build:6 context: ../..7 dockerfile: labs/hermes/Dockerfile8 target: tools910services:11 init:12 <<: *tools13 command: ["/lab/bootstrap.py", "init"]14 volumes:15 - public:/public16 - operator:/operator17 - hermes-home:/hermes-home18 - tiny-data:/tiny-data19 network_mode: none2021 tiny:22 image: tinyagent-lab-tiny23 build:24 context: ../..25 dockerfile: labs/hermes/Dockerfile26 target: tiny27 depends_on:28 init:29 condition: service_completed_successfully30 ports:31 - "127.0.0.1:${TINY_LAB_PORT:-18479}:7447"32 networks: [default, browser]33 volumes:34 - public:/public:ro35 - tiny-data:/data36 healthcheck:37 test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:7447/readyz', timeout=3).read()"]38 interval: 3s39 timeout: 5s40 retries: 304142 seed:43 <<: *tools44 command: ["/lab/bootstrap.py", "seed"]45 depends_on:46 tiny:47 condition: service_healthy48 volumes:49 - public:/public:ro50 - operator:/operator:ro5152 model:53 image: tinyagent-lab-model54 build:55 context: ../..56 dockerfile: labs/hermes/Dockerfile57 target: model58 healthcheck:59 test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz', timeout=3).read()"]60 interval: 3s61 timeout: 5s62 retries: 206364 hermes:65 image: tinyagent-lab-hermes66 build:67 context: ../..68 dockerfile: labs/hermes/Dockerfile69 target: hermes70 init: true71 depends_on:72 seed:73 condition: service_completed_successfully74 model:75 condition: service_healthy76 environment:77 HERMES_HOME: /home/hermes/.hermes78 TINY_CLI_PATH: /usr/local/bin/tinyagent79 HERMES_DISABLE_LAZY_INSTALLS: "1"80 volumes:81 - hermes-home:/home/hermes/.hermes82 stop_grace_period: 20s83 healthcheck:84 test: ["CMD", "python", "/lab/health_hermes.py"]85 interval: 3s86 timeout: 5s87 retries: 308889 check:90 <<: *tools91 profiles: [test]92 command: ["/lab/smoke.py"]93 depends_on:94 hermes:95 condition: service_healthy96 volumes:97 - public:/public:ro98 - operator:/operator:ro99100 adapter-test:101 profiles: [test]102 build:103 context: ../..104 dockerfile: labs/hermes/Dockerfile105 target: adapter-test106 network_mode: none107108 operator:109 <<: *tools110 profiles: [tools]111 entrypoint: ["python", "/lab/labctl.py"]112 command: ["help"]113 volumes:114 - public:/public:ro115 - operator:/operator:ro116117networks:118 default:119 internal: true120 browser: {}121122volumes:123 public:124 operator:125 hermes-home:126 tiny-data: