https://github.com/rfcreate/docker-webpage
Docker containers with Flask application and Nginx server.
https://github.com/rfcreate/docker-webpage
docker docker-compose flask html nginx python waitress
Last synced: 2 months ago
JSON representation
Docker containers with Flask application and Nginx server.
- Host: GitHub
- URL: https://github.com/rfcreate/docker-webpage
- Owner: RFCreate
- Created: 2024-11-11T00:50:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-15T23:10:39.000Z (over 1 year ago)
- Last Synced: 2025-01-21T13:33:10.746Z (over 1 year ago)
- Topics: docker, docker-compose, flask, html, nginx, python, waitress
- Language: Dockerfile
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Compose Flask and Nginx
Join a **container** with Flask application powered by Waitress WSGI server to display a basic html website and a **container** using Nginx to port forward HTTP calls to the html contents.
```
docker compose up --build
```
---
# Flask-Nginx in Docker
Container with Flask application powered by Waitress WSGI server to display a basic html website using NGINX to port forward HTTP calls to the html contents.
```
docker build --tag flask-nginx ./flask-nginx
docker run -d -it --rm -p 80:80 --name flask-nginx flask-nginx
```
---
# Nginx-Only in Docker
Container to display a basic html website using NGINX to port forward HTTP calls to the html contents.
```
docker build --tag nginx-only ./nginx-only
docker run -d -it --rm -p 80:80 --name nginx-only nginx-only
```