File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ GEODATABASE_URL=postgis://{{project_name}}_data:{geodbpwd}@db:5432/{{project_nam
4444GEONODE_DB_CONN_MAX_AGE = 0
4545GEONODE_DB_CONN_TOUT = 5
4646DEFAULT_BACKEND_DATASTORE = datastore
47- BROKER_URL = amqp://guest:guest@rabbitmq:5672/
47+ BROKER_URL = redis://redis:6379/0
48+ CELERY_RESULT_BACKEND = redis://redis:6379/1
4849CELERY_BEAT_SCHEDULER = celery.beat:PersistentScheduler
4950ASYNC_SIGNALS = True
5051
Original file line number Diff line number Diff line change @@ -169,12 +169,12 @@ services:
169169 # ports:
170170 # - "5432:5432"
171171
172- # Vanilla RabbitMQ service. This is needed by celery
173- rabbitmq :
174- image : rabbitmq:3 -alpine
175- container_name : rabbitmq4 ${COMPOSE_PROJECT_NAME}
172+ # Vanilla Redis service. This is needed by celery
173+ redis :
174+ image : redis:7 -alpine
175+ container_name : redis4 ${COMPOSE_PROJECT_NAME}
176176 volumes :
177- - rabbitmq:/var/lib/rabbitmq
177+ - redisdata:/data
178178 restart : unless-stopped
179179
180180volumes :
@@ -196,5 +196,5 @@ volumes:
196196 name : ${COMPOSE_PROJECT_NAME}-data
197197 tmp :
198198 name : ${COMPOSE_PROJECT_NAME}-tmp
199- rabbitmq :
200- name : ${COMPOSE_PROJECT_NAME}-rabbitmq
199+ redisdata :
200+ name : ${COMPOSE_PROJECT_NAME}-redisdata
You can’t perform that action at this time.
0 commit comments