Developed for help to create containerized projects using Docker with PostgreSQL as database and PgAdmin as data visualization.
- Install Docker and Docker Compose.
- Clone this repository or fork this repository:
git clone https://github.com/heytorvas/template-flask-docker.git
- Change directory to repository:
cd template-flask-docker
- Build the containers:
docker-compose build &
- Up the containers:
docker-compose up db &
docker-compose up api &
- It's possible up pgadmin container, if you want:
docker-compose up pgadmin &
Run project: http://localhost:5000