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

Support for reading environment variables #1114

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

QYG2297248353
Copy link
Contributor

Support for reading environment variables
FRONTEND_HOST, PORTAL_NAME, PORTAL_NAME, REDIS_LOCATION

POSTGRES_HOST, POSTGRES_PORT, POSTGRES_NAME, POSTGRES_USER, POSTGRES_PASSWORD

Description

Steps

Pre-deploy

Post-deploy

Support for reading environment variables
FRONTEND_HOST, PORTAL_NAME, PORTAL_NAME, REDIS_LOCATION

POSTGRES_HOST, POSTGRES_PORT, POSTGRES_NAME, POSTGRES_USER, POSTGRES_PASSWORD
@mgogoulos
Copy link
Contributor

Hi, thanks for the PR!

Can you add the import os at the beginning of the file? Without it, I don't think this is going to work...

@QYG2297248353
Copy link
Contributor Author

Hi, thanks for the PR!

Can you add the import os at the beginning of the file? Without it, I don't think this is going to work...

Okay, although it has passed the local test, your suggestion is a standardization suggestion, and I will modify the code.

@mgogoulos mgogoulos merged commit 8d9a461 into mediacms-io:main Nov 22, 2024
3 checks passed
@mgogoulos
Copy link
Contributor

ok merged, thanks!!!

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

Successfully merging this pull request may close these issues.

2 participants