https://github.com/sujaykundu777/flask-postgres-docker
Flask backend with Postgres Database
https://github.com/sujaykundu777/flask-postgres-docker
Last synced: about 1 month ago
JSON representation
Flask backend with Postgres Database
- Host: GitHub
- URL: https://github.com/sujaykundu777/flask-postgres-docker
- Owner: sujaykundu777
- Created: 2018-03-06T11:53:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-08T12:38:55.000Z (almost 7 years ago)
- Last Synced: 2024-11-14T21:42:39.657Z (3 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Postgres Docker
This setup is built for app that uses flask for backend,
postgres for the database and docker for faster deployment.You may need to install docker locally to run the app. For installation process, (if you are using ubuntu) visit [here](https://www.sujaykundu.com/blog/2018/02/14/building-apps-with-docker.html)
Want to learn docker ? You should visit [here](https://docker-curriculum.com)
# Install docker compose
```
$ sudo pip install docker-compose
```## Clone the app
```
$ git clone https://github.com/sujaykundu777/flask-postgres-docker.git ```
## Run the app```
$ cd flask-postgres-docker
$ docker-compose up -e POSTGRES_PASSWORD=password
```