178inaba/pubsub-emulator

By 178inaba

Updated 4 days ago

Container image of Pub/Sub emulator.

Image
Message queues
0

5.0K

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:32f4aa797

Size

431.5 MB

Last updated

4 days ago

docker pull 178inaba/pubsub-emulator