You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should be replaced by environments variables (with the module os), pretty easy, you can replace your code as follow:
importosAPI_KEY=os.environ['API_KEY']
// ...
As for the #2 issue, it will make the dockerization easier. At the end, you'll be able to provide an immutable OCI image with all the dependancies already built and ready to run inside. The users'll just have to export the environment variables (or create a .env file for their docker-compose) before running the container.
The text was updated successfully, but these errors were encountered:
The following values in the api_secrets.py file:
should be replaced by environments variables (with the module
os
), pretty easy, you can replace your code as follow:As for the #2 issue, it will make the dockerization easier. At the end, you'll be able to provide an immutable OCI image with all the dependancies already built and ready to run inside. The users'll just have to
export
the environment variables (or create a.env
file for their docker-compose) before running the container.The text was updated successfully, but these errors were encountered: