Skip to content

Commit f5bebac

Browse files
committed
fix: zmq console publish env variable
1 parent 97ee27a commit f5bebac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

services/bluesky-services/Dockerfile.queue-server

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ WORKDIR /app
2222
# Copy IPython profile from local directory
2323
COPY ipython-profile/ /root/.ipython/
2424

25-
# Expose port for 0MQ communication
26-
EXPOSE 60615
25+
# Expose ports for 0MQ communication
26+
EXPOSE 60615 60625
2727

28-
CMD ["sh", "-c", "start-re-manager --use-ipython-kernel=ON --zmq-publish-console=ON --startup-profile collection_sim --redis-addr=${REDIS_HOST:-redis}:${REDIS_PORT:-6379}"]
28+
CMD ["sh", "-c", "start-re-manager --use-ipython-kernel=ON --zmq-publish-console=ON --startup-profile collection_sim --redis-addr=${REDIS_HOST:-redis}:${REDIS_PORT:-6379} --zmq-info-addr=tcp://*:60625"]

services/bluesky-services/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ services:
2525
container_name: bluesky-queue-server
2626
ports:
2727
- "60615:60615"
28+
- "60625:60625"
2829
environment:
2930
- REDIS_HOST=redis
3031
- REDIS_PORT=6379
@@ -50,6 +51,7 @@ services:
5051
environment:
5152
- QSERVER_HTTP_SERVER_SINGLE_USER_API_KEY=a
5253
- QSERVER_ZMQ_CONTROL_ADDRESS=tcp://queue-server:60615
54+
- QSERVER_ZMQ_INFO_ADDRESS=tcp://queue-server:60625
5355
depends_on:
5456
queue-server:
5557
condition: service_healthy

0 commit comments

Comments
 (0)