Files
hawkbit/hawkbit-compose/docker-compose.yml
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

32 lines
836 B
YAML

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"
networks:
hawk_default_net:
hawkbit-ui:
image: hawkbit/hawkbit-ui:local
container_name: hawkbit-ui
ports:
- "6081:8088"
restart: unless-stopped
command: -jar app.jar --hawkbit.server.url=http://hawkbit-backend:8080
environment:
JAVA_TOOL_OPTIONS: "-Xms256m -Xmx512m"
networks:
hawk_default_net:
# 显式定义共享网桥,两个服务强制加入同一网络
networks:
hawk_default_net:
driver: bridge