feat: add redis
This commit is contained in:
parent
7c94985783
commit
e209805738
11
compose.yml
11
compose.yml
@ -14,6 +14,17 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- teacinema
|
- teacinema
|
||||||
|
|
||||||
|
redis:
|
||||||
|
container_name: teacinema-redis
|
||||||
|
image: redis:6.2
|
||||||
|
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||||
|
ports:
|
||||||
|
- "${REDIS_PORT}:6379"
|
||||||
|
volumes:
|
||||||
|
- redis_data:/data
|
||||||
|
networks:
|
||||||
|
- teacinema
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user