An open API service indexing awesome lists of open source software.

https://github.com/aa-nadim/install-jenkins-docker


https://github.com/aa-nadim/install-jenkins-docker

ci-cd docker jenkins

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# DevOps Container Workflow

```bash
docker build -t my-jenkins .
docker compose up -d
```

## Jenkins and Flask Docker Setup

This project demonstrates how to set up Jenkins and deploy a Flask application using Docker.

### Prerequisites
- Docker and Docker Compose installed.
- Jenkins installed as a container.

### Steps

**Access Jenkins**:
- Open your browser and go to `http://localhost:8080`.
- Retrieve the admin password: `docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword` , `cat /var/jenkins_home/secrets/initialAdminPassword`
- Unlock Jenkins using the initial admin password found in the Jenkins container logs.
- Install the suggested plugins.
- Create an admin user.