persistent redis

This commit is contained in:
sbriat 2023-01-30 16:11:20 +01:00
parent 819c8743ad
commit f4cb0eec95
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# custom # custom
.postgresql .postgresql
.redis_data
.env .env
# compiled output # compiled output

View File

@ -26,6 +26,8 @@ services:
image: ${REDIS_IMAGE} image: ${REDIS_IMAGE}
ports: ports:
- 6501:6379 - 6501:6379
volumes:
- .redis_data:/data
env_file: env_file:
- .env - .env
networks: networks: