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:
committed by
GitHub
parent
9f22caf148
commit
ba036e0576
@@ -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/
|
||||
|
||||
4
examples/usecase/query-grpc-service/README.md
Normal file
4
examples/usecase/query-grpc-service/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
Query gRPC service in Windmill
|
||||
==============================
|
||||
|
||||
See [Blog Post](https://www.windmill.dev/blog/query-grpc-service)
|
||||
31
examples/usecase/query-grpc-service/docker-compose.yml
Normal file
31
examples/usecase/query-grpc-service/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user