https://github.com/gustavz/docker-fastapi-mongo-template
Minimal working template to run a fast API with a mongo DB using docker compose
https://github.com/gustavz/docker-fastapi-mongo-template
docker docker-compose fastapi mongodb template
Last synced: 3 months ago
JSON representation
Minimal working template to run a fast API with a mongo DB using docker compose
- Host: GitHub
- URL: https://github.com/gustavz/docker-fastapi-mongo-template
- Owner: gustavz
- License: mit
- Created: 2025-03-10T13:19:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T13:47:48.000Z (over 1 year ago)
- Last Synced: 2025-03-10T14:38:19.008Z (over 1 year ago)
- Topics: docker, docker-compose, fastapi, mongodb, template
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI-MongoDB-Docker Template
Minimal working template to run a fast API with a mongo DB using docker compose
### Getting Started
1. `brew install docker-compose` (optional once to install docker-compose)
2. `bash run.sh` to rebuild and start containers
3. `bash run.sh down` same as 1 but first removes all containers, volumes and networks (e.g. necessary if credentials changed)
4. Access running app: http://0.0.0.0:8000/docs