add eventhub-admin-ui dependency
This commit is contained in:
@@ -315,7 +315,7 @@ docker-swarm-check-admin:
|
|||||||
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval 'eventhub_auth:authenticate_admin_request(<<"">>,<<"admin@eventhub.local">>,<<"123456">>).'
|
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval 'eventhub_auth:authenticate_admin_request(<<"">>,<<"admin@eventhub.local">>,<<"123456">>).'
|
||||||
|
|
||||||
docker-swarm-reg-bots:
|
docker-swarm-reg-bots:
|
||||||
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval "os:putenv(\"BOT_COUNT\", \"3000\"), bot_controller:register()."
|
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval "os:putenv(\"BOT_COUNT\", \"100\"), bot_controller:register()."
|
||||||
|
|
||||||
docker-swarm-reg-bots-stop:
|
docker-swarm-reg-bots-stop:
|
||||||
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval 'bot_controller:stop().'
|
@docker exec $$(docker ps -qf "name=eventhub_eventhub" | head -n 1) /app/bin/eventhub eval 'bot_controller:stop().'
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ docker build -t observer_web:latest -f docker/ObserverWeb.Dockerfile .
|
|||||||
docker build -t logrotate:latest -f docker/logrotate/Dockerfile docker/logrotate
|
docker build -t logrotate:latest -f docker/logrotate/Dockerfile docker/logrotate
|
||||||
|
|
||||||
# Admin UI – из соседней папки EventHubFrontAdmin
|
# Admin UI – из соседней папки EventHubFrontAdmin
|
||||||
docker build -t admin-ui:latest -f ../EventHubFrontAdmin/Dockerfile ../EventHubFrontAdmin
|
docker build -t eventhub-admin-ui:latest -f ../EventHubFrontAdmin/Dockerfile ../EventHubFrontAdmin
|
||||||
|
|
||||||
docker build -t eventhub-emulator -f test/emulate_users/Dockerfile .
|
docker build -t eventhub-emulator -f test/emulate_users/Dockerfile .
|
||||||
@@ -77,7 +77,7 @@ services:
|
|||||||
# volume:
|
# volume:
|
||||||
# nocopy: true
|
# nocopy: true
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 1
|
||||||
endpoint_mode: dnsrr
|
endpoint_mode: dnsrr
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
@@ -86,11 +86,11 @@ services:
|
|||||||
|
|
||||||
# ================== Admin UI ==================
|
# ================== Admin UI ==================
|
||||||
admin-ui:
|
admin-ui:
|
||||||
image: admin-ui:latest
|
image: eventhub-admin-ui:latest
|
||||||
networks:
|
networks:
|
||||||
- eventhub-net
|
- eventhub-net
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 0
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
labels:
|
labels:
|
||||||
@@ -114,7 +114,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 0
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 0
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user