Dockerized Pub/Sub server that allows for custom project, topics and subscriptions to be set
10K+
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"]