mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-22 06:16:45 +01:00
docker-compose (dev): persist redis data
This commit is contained in:
parent
742095c71f
commit
dbfe3e95c8
@ -3,7 +3,9 @@ services:
|
||||
redis:
|
||||
image: redis:6-alpine
|
||||
restart: unless-stopped
|
||||
command: redis-server --loglevel warning
|
||||
command: redis-server --save 60 1 --loglevel warning
|
||||
volumes:
|
||||
- cic-custodial-redis:/data
|
||||
ports:
|
||||
- '6379:6379'
|
||||
healthcheck:
|
||||
@ -20,7 +22,7 @@ services:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_DB=cic_custodial
|
||||
volumes:
|
||||
- cic-custodial:/var/lib/postgresql/data
|
||||
- cic-custodial-pg:/var/lib/postgresql/data
|
||||
ports:
|
||||
- '5432:5432'
|
||||
healthcheck:
|
||||
@ -49,5 +51,7 @@ services:
|
||||
ports:
|
||||
- '5000:5000'
|
||||
volumes:
|
||||
cic-custodial:
|
||||
cic-custodial-pg:
|
||||
driver: local
|
||||
cic-custodial-redis:
|
||||
driver: local
|
Loading…
Reference in New Issue
Block a user