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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user