Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Allow to set redis.db via environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zlodes committed Apr 22, 2021
1 parent 6a4125d commit 4fd1e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ file, the following options can be overridden:
- `host`: `LARAVEL_ECHO_SERVER_HOST`
- `port`: `LARAVEL_ECHO_SERVER_PORT`
- `devMode`: `LARAVEL_ECHO_SERVER_DEBUG`
- `databaseConfig.redis.db`: `LARAVEL_ECHO_SERVER_REDIS_DB`
- `databaseConfig.redis.host`: `LARAVEL_ECHO_SERVER_REDIS_HOST`
- `databaseConfig.redis.port`: `LARAVEL_ECHO_SERVER_REDIS_PORT`
- `databaseConfig.redis.password`: `LARAVEL_ECHO_SERVER_REDIS_PASSWORD`
Expand Down
1 change: 1 addition & 0 deletions src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class Cli {
LARAVEL_ECHO_SERVER_DEBUG: "devMode",
LARAVEL_ECHO_SERVER_HOST: "host",
LARAVEL_ECHO_SERVER_PORT: "port",
LARAVEL_ECHO_SERVER_REDIS_DB: 'databaseConfig.redis.db',
LARAVEL_ECHO_SERVER_REDIS_HOST: "databaseConfig.redis.host",
LARAVEL_ECHO_SERVER_REDIS_PORT: "databaseConfig.redis.port",
LARAVEL_ECHO_SERVER_REDIS_PASSWORD: "databaseConfig.redis.password",
Expand Down

0 comments on commit 4fd1e85

Please sign in to comment.