Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete environment variable support #18

Closed
pintoflager opened this issue Mar 12, 2021 · 1 comment
Closed

Incomplete environment variable support #18

pintoflager opened this issue Mar 12, 2021 · 1 comment

Comments

@pintoflager
Copy link

pintoflager commented Mar 12, 2021

Hi,

Entrypoint script in /bin/docker-entrypoint has only partial support for environment variables
Only following env keys are being looked up and swapped to laravel-echo-server.json:

LARAVEL_ECHO_SERVER_DB
REDIS_HOST
REDIS_PORT
REDIS_PASSWORD
REDIS_PREFIX
REDIS_DB

Other defined environment variables have no impact.

@oanhnn
Copy link
Owner

oanhnn commented Apr 7, 2021

Yes. The entrypoint script only support partial for these environment variable overrides.
Some environments will support by native laravel-echo-server. It is implemented by code and overrides laravel-echo-server.json

See here:

https://github.com/oanhnn/docker-laravel-echo-server#override-config-by-environment-variables
https://github.com/tlaverdure/laravel-echo-server/blob/master/README.md#dotenv

@oanhnn oanhnn closed this as completed Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants