Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyface753 committed Dec 16, 2022
1 parent b9d529a commit 80712ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 664 deletions.
25 changes: 10 additions & 15 deletions docker-compose-grpc-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ services:
ports:
- 50051:50051
depends_on:
- primary
- redis
- minio
primary:
condition: service_healthy
redis:
condition: service_started
environment:
- POSTGRES_HOST=primary
- REDIS_HOST=redis
- S3_ENDPOINT=http://test.skyface.de:9000
extra_hosts:
- "test.skyface.de:10.10.10.5" # for minio
- 'test.skyface.de:10.10.10.5' # for minio
networks:
grpc-net:
ipv4_address: 10.10.10.2


primary:
image: postgres
environment:
Expand All @@ -40,6 +40,11 @@ services:
networks:
grpc-net:
ipv4_address: 10.10.10.3
healthcheck:
test: ['CMD-SHELL', 'pg_isready']
interval: 10s
timeout: 5s
retries: 5

pgadmin:
container_name: pgadmin4_container
Expand All @@ -54,7 +59,6 @@ services:
- grpc-pgadmin-data:/var/lib/pgadmin
depends_on:
- primary


redis:
image: redis
Expand All @@ -65,7 +69,6 @@ services:
networks:
grpc-net:
ipv4_address: 10.10.10.4


minio:
image: docker.io/bitnami/minio:2022
Expand All @@ -81,10 +84,6 @@ services:
grpc-net:
ipv4_address: 10.10.10.5





envoy:
build:
context: ./grpc-envoy-proxy
Expand All @@ -93,12 +92,8 @@ services:
- 8000:8000
depends_on:
- grpc-server-go



volumes:
grpc-pg-vol-debug:
grpc-pgadmin-data:
grpc-minio_data:


Loading

0 comments on commit 80712ce

Please sign in to comment.