Skip to content

A example python script showing how to use Docker environment variables within a python application.

License

Notifications You must be signed in to change notification settings

a-bennett/example-python-docker-dotenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Using Docker Enviroment Variables in Python

This is a very simple example of how to use the python-dotenv package in a python script / app that is deployed in docker.

To test run the following command:

docker compose up -d --build && docker compose logs -f

About

A example python script showing how to use Docker environment variables within a python application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published