- 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
flaskdirectory, 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.
badjio/Docker-Nginx-Letsencrypt-Flask-Postgres
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|