Merge pull request #941 from bookwyrm-social/redis-persistence

Persistence for redis images
This commit is contained in:
Mouse Reeve 2021-04-15 16:15:09 -07:00 committed by GitHub
commit 903fee8504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,20 +40,26 @@ services:
- 8000:8000
redis_activity:
image: redis
command: ["redis-server", "--appendonly", "yes"]
env_file: .env
ports:
- 6378:6378
networks:
- main
restart: on-failure
volumes:
- redis_activity_data:/data
redis_broker:
image: redis
command: ["redis-server", "--appendonly", "yes"]
env_file: .env
ports:
- 6379:6379
networks:
- main
restart: on-failure
volumes:
- redis_broker_data:/data
celery_worker:
env_file: .env
build: .
@ -86,5 +92,7 @@ volumes:
pgdata:
static_volume:
media_volume:
redis_broker_data:
redis_activity_data:
networks:
main: