Files
hawkbit/hawkbit-compose/docker-compose.yml.bak

26 lines
797 B
YAML
Raw Normal View History

2026-06-18 18:00:17 +08:00
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