Skip to content

Commit

Permalink
update all dokcer compose
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Nov 8, 2023
1 parent b8bb0d5 commit 945e54c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 0 additions & 2 deletions docker-compose.agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ services:
queue:
image: cloudamqp/lavinmq:1.2.5
restart: unless-stopped
ports:
- 15672:15672

stream:
image: confluentinc/cp-kafka:latest-ubi8
Expand Down
15 changes: 5 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ services:
retries: 60

queue:
image: rabbitmq:3.12
image: cloudamqp/lavinmq:1.2.5
restart: unless-stopped
ports:
- 5672:5672
- 15672:15672
healthcheck:
test: rabbitmq-diagnostics -q check_running
interval: 1s
timeout: 5s
retries: 60

jaeger:
image: jaegertracing/all-in-one:latest
Expand Down Expand Up @@ -78,7 +73,7 @@ services:
environment:
REDIS_URL: cache
DATABASE_URL: postgresql://ashketchum:squirtle123@db:5432/pokeshop?schema=public
RABBITMQ_HOST: queue
RABBITMQ_HOST: guest:guest@queue
POKE_API_BASE_URL: https://pokeapi.co/api/v2
COLLECTOR_ENDPOINT: http://otel-collector:4317
ZIPKIN_URL: http://localhost:9411
Expand All @@ -100,13 +95,13 @@ services:
condition: service_healthy
otel-collector:
condition: service_started

rpc:
build: .
environment:
REDIS_URL: cache
DATABASE_URL: postgresql://ashketchum:squirtle123@db:5432/pokeshop?schema=public
RABBITMQ_HOST: queue
RABBITMQ_HOST: guest:guest@queue
POKE_API_BASE_URL: https://pokeapi.co/api/v2
COLLECTOR_ENDPOINT: http://otel-collector:4317
ZIPKIN_URL: http://localhost:9411
Expand Down Expand Up @@ -135,7 +130,7 @@ services:
environment:
REDIS_URL: cache
DATABASE_URL: postgresql://ashketchum:squirtle123@db:5432/pokeshop?schema=public
RABBITMQ_HOST: queue
RABBITMQ_HOST: guest:guest@queue
POKE_API_BASE_URL: https://pokeapi.co/api/v2
COLLECTOR_ENDPOINT: http://otel-collector:4317
ZIPKIN_URL: http://localhost:9411
Expand Down

0 comments on commit 945e54c

Please sign in to comment.