- Updated configuration and deployment files - Improved system architecture and components - Enhanced documentation and testing - Fixed various issues and added new features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
version: "3.9"
|
|
|
|
services:
|
|
bzzz:
|
|
image: bzzz:latest
|
|
env_file:
|
|
- bzzz.env
|
|
# Persist identity/state per node
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/bzzz
|
|
target: /var/lib/bzzz
|
|
- type: bind
|
|
source: /tmp/bzzz-ucxl-storage
|
|
target: /tmp/bzzz-ucxl-storage
|
|
- type: bind
|
|
source: /tmp/bzzz-ucxi-storage
|
|
target: /tmp/bzzz-ucxi-storage
|
|
- type: bind
|
|
source: /tmp/hcfs-workspaces
|
|
target: /tmp/hcfs-workspaces
|
|
|
|
# If you later enable ucxl.server.enabled: true and need to expose it:
|
|
ports:
|
|
- target: 8081
|
|
published: 8081
|
|
protocol: tcp
|
|
mode: host
|
|
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 3
|
|
update_config:
|
|
order: start-first
|
|
parallelism: 1
|
|
failure_action: rollback
|
|
restart_policy:
|
|
condition: on-failure
|
|
resources:
|
|
limits:
|
|
cpus: "1.0"
|
|
memory: 2G
|
|
reservations:
|
|
cpus: "0.25"
|
|
memory: 512M
|
|
placement:
|
|
preferences:
|
|
- spread: node.id
|
|
|
|
networks:
|
|
- bzzz_net
|
|
|
|
# Lets the container resolve the node's host at host.docker.internal
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
bzzz_net:
|
|
driver: overlay
|
|
attachable: true
|
|
# driver_opts:
|
|
# encrypted: "true"
|