diff --git a/docker-compose.yml b/docker-compose.yml index 206cc85..243511b 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,8 @@ services: restart: always volumes: - redis:/data + env_file: + - ./.env command: redis-server --loglevel warning --requirepass $REDIS_PASSWORD ports: - "$REDIS_PORT:$REDIS_PORT"