comment all rabbitmq dependencies added redis to docker compose file
This commit is contained in:
parent
e2c27bd2e1
commit
8066d5607b
|
|
@ -14,6 +14,7 @@ services:
|
|||
- "5436:5432"
|
||||
volumes:
|
||||
- gm-db:/var/lib/postgresql/data/
|
||||
|
||||
elasticsearch:
|
||||
image: elasticsearch:7.3.1
|
||||
volumes:
|
||||
|
|
@ -27,11 +28,18 @@ services:
|
|||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
|
||||
# RabbitMQ
|
||||
rabbitmq:
|
||||
image: rabbitmq:latest
|
||||
# Redis
|
||||
redis:
|
||||
image: redis:2.8.23
|
||||
ports:
|
||||
- "5672:5672"
|
||||
- "6379:6379"
|
||||
|
||||
# RabbitMQ
|
||||
#rabbitmq:
|
||||
# image: rabbitmq:latest
|
||||
# ports:
|
||||
# - "5672:5672"
|
||||
|
||||
# Celery
|
||||
worker:
|
||||
build: .
|
||||
|
|
@ -47,7 +55,9 @@ services:
|
|||
- .:/code
|
||||
links:
|
||||
- db
|
||||
- rabbitmq
|
||||
# - rabbitmq
|
||||
- redis
|
||||
|
||||
worker_beat:
|
||||
build: .
|
||||
command: ./run_celery_beat.sh
|
||||
|
|
@ -62,7 +72,8 @@ services:
|
|||
- .:/code
|
||||
links:
|
||||
- db
|
||||
- rabbitmq
|
||||
# - rabbitmq
|
||||
- redis
|
||||
# App: G&M
|
||||
gm_app:
|
||||
build: .
|
||||
|
|
@ -76,7 +87,8 @@ services:
|
|||
- DB_PASSWORD=postgres
|
||||
depends_on:
|
||||
- db
|
||||
- rabbitmq
|
||||
# - rabbitmq
|
||||
- redis
|
||||
- worker
|
||||
- worker_beat
|
||||
- elasticsearch
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user