mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Merge pull request #941 from bookwyrm-social/redis-persistence
Persistence for redis images
This commit is contained in:
commit
903fee8504
1 changed files with 8 additions and 0 deletions
|
@ -40,20 +40,26 @@ services:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
redis_activity:
|
redis_activity:
|
||||||
image: redis
|
image: redis
|
||||||
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- 6378:6378
|
- 6378:6378
|
||||||
networks:
|
networks:
|
||||||
- main
|
- main
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
volumes:
|
||||||
|
- redis_activity_data:/data
|
||||||
redis_broker:
|
redis_broker:
|
||||||
image: redis
|
image: redis
|
||||||
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
networks:
|
networks:
|
||||||
- main
|
- main
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
volumes:
|
||||||
|
- redis_broker_data:/data
|
||||||
celery_worker:
|
celery_worker:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
build: .
|
build: .
|
||||||
|
@ -86,5 +92,7 @@ volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
static_volume:
|
static_volume:
|
||||||
media_volume:
|
media_volume:
|
||||||
|
redis_broker_data:
|
||||||
|
redis_activity_data:
|
||||||
networks:
|
networks:
|
||||||
main:
|
main:
|
||||||
|
|
Loading…
Reference in a new issue