Sign inSign up

yanixdo/python_project_1

By yanixdo

•Updated about 2 years ago

This is a simple Flask web application designed to demo a CI/CD pipeline using Docker and Jenkins.

Image
Web servers
0

88

yanixdo/python_project_1 repository overview

⁠Python_project_1

Python Flask Docker

ā šŸ“‹ Description

Python_project_1 — This is a simple Flask web application designed to demo a CI/CD pipeline using Docker and Jenkins. This project can be used as a template to customize your own applications with continuous delivery and deployment integration. This project can be used as a template to customize your own applications with continuous delivery and deployment integration.

ā šŸš€ Start of work

⁠1. Clone the repository
git clone https://github.com/YanaDevOps/Python_project_1.git
cd Python_project_1
⁠2. Launching an application in Docker
docker-compose up --build
⁠3. Access to the application

Open your browser and go to:

http://localhost:5000

ā šŸ“‚ Project structure

Python_project_1/
ā”œā”€ā”€ Dockerfile
ā”œā”€ā”€ docker-compose.yml
ā”œā”€ā”€ app.py
ā”œā”€ā”€ requirements.txt
ā”œā”€ā”€ templates/
│   └── index.html
└── static/
    └── style.css

Dockerfile: Configuration file for creating a Docker image. docker-compose.yml: The file for orchestration of Docker containers. app.py: The main Flask application file. requirements.txt: A file containing Python dependencies. README.md: Project documentation.

⁠🌟 Functionality

A simple web application that returns a message on the home page. Sample project to demonstrate CI/CD process using Jenkins and Docker.

ā šŸ’» Technology

Python 3.8 Flask 1.1.2 Docker

ā šŸ‘¤ Author

Name: Yana Lysenko GitHub: YanaDevOps

Tag summary

Content type

Image

Digest

sha256:b6e14073d…

Size

48.6 MB

Last updated

about 2 years ago

docker pull yanixdo/python_project_1