Files
hawkbit/hawkbit-compose/docker-compose.yml.bak
lingwei.kong 2a425196e6
Some checks failed
Mark & close stale issues / stale (push) Has been cancelled
Vulnerability Scan / trivy-scan (1.0) (push) Has been cancelled
Vulnerability Scan / trivy-scan (master) (push) Has been cancelled
License Scan / license-scan (push) Has been cancelled
提交api调用相关信息
2026-06-18 18:00:17 +08:00

26 lines
797 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
hawkbit-backend:
image: hawkbit/hawkbit-update-server:local
container_name: hawkbit-backend
ports:
- "6060:8080"
restart: unless-stopped
command: >
--hawkbit.dmf.rabbitmq.enabled=false
--hawkbit.server.ddi.security.authentication.anonymous.enabled=true
environment:
JAVA_TOOL_OPTIONS: "-Xms512m -Xmx1024m"
hawkbit-ui:
image: hawkbit/hawkbit-ui:local
container_name: hawkbit-ui
ports:
- "6081:8088"
restart: unless-stopped
# 修复shell语法单条完整命令无换行拆分bug
command: /bin/sh -c "sleep 15; java $JAVA_TOOL_OPTIONS -jar app.jar --hawkbit.server.url=http://hawkbit-backend:8080"
environment:
JAVA_TOOL_OPTIONS: "-Xms256m -Xmx512m"
depends_on:
- hawkbit-backend