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:
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
server:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mysql
|
||||
- googlecloud
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
working_dir: /app
|
||||
environment:
|
||||
PUBSUB_EMULATOR_HOST: googlecloud:8085
|
||||
command: go run main.go
|
||||
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
logging:
|
||||
driver: none
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MYSQL_DATABASE: watermill
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
|
||||
googlecloud:
|
||||
image: google/cloud-sdk:228.0.0
|
||||
logging:
|
||||
driver: none
|
||||
entrypoint: gcloud --quiet beta emulators pubsub start --host-port=0.0.0.0:8085 --verbosity=debug --log-http
|
||||
ports:
|
||||
- 8085:8085
|
||||
environment:
|
||||
PUBSUB_EMULATOR_HOST: googlecloud:8085
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user