提交api调用相关信息
This commit is contained in:
31
hawkbit-compose/docker-compose.yml
Normal file
31
hawkbit-compose/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user