Create Hawser Edge

This commit is contained in:
2026-05-01 00:30:32 -07:00
parent 92347aa868
commit 8a3b1582a0
4 changed files with 35 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
hawser:
image: ghcr.io/finsys/hawser:latest
container_name: hawser
volumes:
- /home/${HAWSER_USERNAME}/hawser/stacks:/data/stacks
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TOKEN=${HAWSER_Token}
- DOCKHAND_SERVER_URL=wss://${DOCKHAND_ADDRESS}:${DOCKHAND_PORT}
- PORT=2376
healthcheck:
test: ["CMD-SHELL", "if [ -n \"$$TLS_CERT\" ]; then wget -q --spider --no-check-certificate https://localhost:$$PORT/_hawser/health; else wget -q --spider http://localhost:$$PORT/_hawser/health; fi || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 5s
deploy:
resources:
limits:
memory: 512m
restart: unless-stopped