- Clone this repository.
- Edit
'.env'
file: set'NGINX_FILES_PATH'
and'WEB_STATIC_FILES_PATH'
- Execute
'start.sh'
file, and wait few seconds for the containers to be created. - Change
flask/web/
content with your flask app project. (or keep the example). - In
flask
directory, edit'.env'
file (for the environment variables during docker build) and'env_file'
(for environment variables within the containers): - Run
docker-compose up -d
- Wait few moments for the containers to build and certificates to generate.
- Check your website, if you used the example, check if the database is working by submitting the form.
-
Notifications
You must be signed in to change notification settings - Fork 0
a Flask app using PostgreSQL and an Nginx proxy server with Letsencrypt, all through Docker containers
License
badjio/Docker-Nginx-Letsencrypt-Flask-Postgres
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a Flask app using PostgreSQL and an Nginx proxy server with Letsencrypt, all through Docker containers
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published