Skip to content

Commit

Permalink
[BUG]: fix docker-compose.dev (#586)
Browse files Browse the repository at this point in the history
fix: change file to accept redis
  • Loading branch information
CatiaAntunes96 authored Nov 16, 2022
1 parent f21cf99 commit a22c24e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# @format

version: "3.9"

services:
Expand Down Expand Up @@ -90,6 +92,20 @@ services:
env_file:
- ./database/.env

redis:
image: redis
command: /bin/sh -c "redis-server --requirepass $$REDIS_PASSWORD"
environment:
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
ports:
- "6379:6379"
env_file:
- ./database/redis/.env

volumes:
redis_data:
driver: local

# Networks
networks:
dc-network:
Expand Down

0 comments on commit a22c24e

Please sign in to comment.