178inaba/pubsub-emulator

By 178inaba

Updated 1 day ago

Container image of Pub/Sub emulator.

Image
Message queues
0

5.8K

178inaba/pubsub-emulator repository overview

Pub/Sub Emulator Container Image

Usage

$ docker run -d --name pubsub-emulator -p 8085:8085 178inaba/pubsub-emulator
GitHub Actions
jobs:
  test:
    runs-on: ubuntu-latest
    services:
      pubsub-emulator:
        image: 178inaba/pubsub-emulator
        ports:
          - "8085:8085"
    env:
      PUBSUB_EMULATOR_HOST: localhost:8085
    steps:
      - name: Test
        run: |
          # Replace this with running tests for your app.
          curl -f localhost:8085
Docker Compose
services:
  pubsub:
    image: 178inaba/pubsub-emulator
    ports:
      - "8085:8085"
    healthcheck:
      test: ['CMD', 'curl', '-f', 'localhost:8085']

  app:
    build: .
    environment:
      PUBSUB_EMULATOR_HOST: pubsub:8085
    depends_on:
      pubsub:
        condition: service_healthy

Source Repository

https://github.com/178inaba/gcloud-emulators

Tag summary

Content type

Image

Digest

sha256:9eec776cf

Size

435.9 MB

Last updated

1 day ago

docker pull 178inaba/pubsub-emulator