uFlaskHub uses Docker, uWSGI, and very simple Flask templete
1.5K
uFlaskHub uses Docker, uWSGI, and Flask to make deploying Flask applications easy. It provides a containerized setup for quick and consistent deployment.
requirements.txt automatically using pipreqs for each build.The easiest way to get started with uFlaskHub is using Docker Compose.
Ensure you have Docker and Docker Compose installed on your system, see Docker docs
Clone the repository:
git clone https://github.com/m4ary/uFlaskHub
Navigate to the uFlaskHub directory:
cd uFlaskHub
Modify the docker-compose.ymlfile to change the volume path to current path absolute path of uFlaskHub:
volumes:
- /your/current/path/uFlaskHub:/usr/src/app
Start the application using Docker Compose:
docker-compose up -d
Access the application at http://localhost:4000/.
If you prefer to build the Docker image yourself, follow these steps:
Clone the repository:
git clone https://github.com/m4ary/uFlaskHub
Navigate to the uFlaskHub directory:
cd uFlaskHub
Build the Docker image:
docker build -t my-flask-app .
Run the Docker container:
docker run -p 4000:8000 my-flask-app
Access the application at http://localhost:4000/.
Contributions to uFlaskHub are welcome! Feel free to fork the repository, make changes, and submit pull requests.
Content type
Image
Digest
sha256:b3f1d51dc…
Size
135.1 MB
Last updated
over 2 years ago
docker pull m4ary/uflask-hub