snapshot of https://github.com/ThreeDotsLabs/watermill.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
master / ci (push) Failing after 0s
Some checks failed
master / ci (push) Failing after 0s
This commit is contained in:
19
_examples/pubsubs/googlecloud/docker-compose.yml
Normal file
19
_examples/pubsubs/googlecloud/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
server:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- googlecloud
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
environment:
|
||||
# use local emulator instead of google cloud engine
|
||||
PUBSUB_EMULATOR_HOST: "googlecloud:8085"
|
||||
working_dir: /app
|
||||
command: go run main.go
|
||||
|
||||
googlecloud:
|
||||
image: google/cloud-sdk:414.0.0
|
||||
entrypoint: gcloud --quiet beta emulators pubsub start --host-port=0.0.0.0:8085 --verbosity=debug --log-http
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user