Skip to content

broadlume/docker-google-pubsub-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Pub/Sub for Docker

This repo contains a ridiculously small Docker image for the Cloud Pub/Sub Emulator for usage in development.

Only use this image in development, do not use this in production!

Usage

  1. With docker-compose:

    ---
    version: '3.6'
    
    services:
      pubsub:
        image: adhawk/google-pubsub-emulator
        ports:
          - 8085:8085
  2. Plain docker command:

    docker run -p 8085:8085 adhawk/google-pubsub-emulator
  3. Make sure to set these environment variables in your app that requires the pubsub service

    export PUBSUB_EMULATOR_HOST=localhost:8085

About

Docker image for the Google Cloud Pub/Sub Emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published