Skip to content

FastAPI, NGINX, Docker: An API boilerplate with self-signed SSL in Docker.

License

Notifications You must be signed in to change notification settings

vafakaramzadegan/Docker-NGINX-SSL-FastAPI

Repository files navigation

Docker-NGINX-SSL-FastAPI

A boilerplate project that combines the power of FastAPI for building APIs, NGINX for secure reverse proxying, and Docker for containerization. The primary focus is on NGINX dynamically generating Self-signed SSL certificates in a Docker environment.

Features

  • FastAPI: A modern, fast, web framework for building APIs.
  • NGINX: A high-performance web server and reverse proxy with dynamic SSL certificate generation.
  • Docker: Containerization for easy deployment and scalability.

Getting Started

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Build and run the Docker containers:

    docker-compose up -d --build

Customization

Feel free to customize the NGINX configuration, FastAPI routes, or any other aspect of the boilerplate to suit your specific project requirements.

About

FastAPI, NGINX, Docker: An API boilerplate with self-signed SSL in Docker.

Topics

Resources

License

Stars

Watchers

Forks