Sign inSign up

markkrijgsman/pubsub

By markkrijgsman

Updated about 6 years ago

Dockerized Pub/Sub server that allows for custom project, topics and subscriptions to be set

Image
0

10K+

Dockerfile
FROM google/cloud-sdk:272.0.0

RUN pip install google-cloud-pubsub==1.6.1
RUN mkdir -p /root/bin

COPY start-pubsub.sh pubsub-client.py /root/bin/

ENV PUBSUB_EMULATOR_HOST=localhost:8432
EXPOSE 8432

CMD ["./root/bin/start-pubsub.sh"]