docs: How to query gRPC service using Bun (#2863)

* docs: How to query gRPC service using Bun

* move readme to blogpost
This commit is contained in:
Guillaume Bouvignies
2023-12-20 09:14:01 +01:00
committed by GitHub
parent 9f22caf148
commit ba036e0576
3 changed files with 36 additions and 1 deletions

View File

@@ -209,7 +209,7 @@ RUN chmod 755 /usr/bin/deno
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=oven/bun:1.0.8 /usr/local/bin/bun /usr/bin/bun
COPY --from=oven/bun:1.0.18 /usr/local/bin/bun /usr/bin/bun
# add the docker client to call docker from a worker if enabled
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/

View File

@@ -0,0 +1,4 @@
Query gRPC service in Windmill
==============================
See [Blog Post](https://www.windmill.dev/blog/query-grpc-service)

View File

@@ -0,0 +1,31 @@
version: "3.7"
services:
grpc:
image: gbouv/grpc-quickstart-service
db:
image: postgres:14
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: changeme
POSTGRES_DB: windmill
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
windmill_server:
image: ghcr.io/windmill-labs/windmill:main
ports:
- 8000:8000
environment:
- DATABASE_URL=postgres://postgres:changeme@db/windmill?sslmode=disable
depends_on:
db:
condition: service_healthy
volumes:
db_data: null