Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into TS/5321-update-obj-func
  • Loading branch information
Tom-Szendrey committed Nov 5, 2024
2 parents 1415be8 + 93ec358 commit affebf0
Showing 1 changed file with 16 additions and 43 deletions.
59 changes: 16 additions & 43 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ networks:
pyciemss:
driver: bridge
name: pyciemss
data-api:
terarium:
external: true
services:
api:
container_name: pyciemss-api
container_name: pyciemss-api-ciemss
build:
context: ..
dockerfile: docker/Dockerfile.api
Expand All @@ -17,59 +17,32 @@ services:
- ../.env
networks:
- pyciemss
- data-api
depends_on:
- redis
- rabbitmq
- terarium
volumes:
- $PWD/service:/service
extra_hosts:
- "host.docker.internal:host-gateway"
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
networks:
- pyciemss
rqworker:
container_name: pyciemss-worker
container_name: pyciemss-worker-ciemss
build:
context: ..
dockerfile: docker/Dockerfile.worker
env_file:
- ../.env
depends_on:
- redis
- api
networks:
- data-api
- pyciemss
rabbitmq:
container_name: rabbitmq
profiles: ["standalone"]
hostname: rabbitmq
image: 'rabbitmq:3'
healthcheck:
test: ["CMD", "rabbitmqctl", "status"]
interval: 10s
timeout: 5s
retries: 5
- terarium
extra_hosts:
- "host.docker.internal:host-gateway"
redis:
container_name: redis-ciemss
image: redis:7-alpine
ports:
- "5672:5672"
- "15672:15672"
networks:
- pyciemss
rabbitmq-mock-consumer:
container_name: rabbitmq-mock-consumer
profiles: ["standalone"]
build:
context: ..
dockerfile: docker/Dockerfile.api
command: poetry run mockrabbitmq
env_file:
- ../.env
networks:
- pyciemss
depends_on:
- rabbitmq
- "6666:6379"





0 comments on commit affebf0

Please sign in to comment.