Fix Hive deployment: add placement constraints to walnut node

- Force backend and frontend services to run on walnut where images are built
- Fixes 'No such image' errors on other nodes
- Both services now running successfully (1/1 replicas)
- Frontend accessible at https://hive.home.deepblack.cloud
- Backend API responding on /api/ endpoints

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-15 02:15:47 +10:00
parent 2b5e6a492d
commit ee71f208fd
2 changed files with 9 additions and 39 deletions

View File

@@ -32,9 +32,9 @@ services:
memory: 512M
reservations:
memory: 256M
# placement:
# constraints:
# - node.hostname == walnut
placement:
constraints:
- node.hostname == walnut
labels:
- "traefik.enable=true"
- "traefik.docker.network=tengig"
@@ -80,7 +80,8 @@ services:
reservations:
memory: 128M
placement:
constraints: []
constraints:
- node.hostname == walnut
labels:
- "traefik.enable=true"
- "traefik.docker.network=tengig"