Skip to content

Commit

Permalink
docker compose update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor committed Nov 15, 2023
1 parent 0f986ab commit b7e72f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ This command will build the Docker image for your website and start the containe

You can now access your portfolio website by navigating to `http://localhost:5000` in your web browser.

## Jenkins Pipeline


## Jenkins Pipeline
The pipeline is designed to automate the processes of testing, building, and deploying a web application using Docker.
It creates an image and pushes it to DockerHub. This simplifies deployment with Docker Compose. Additionally,
the pipeline is configured to perform these tasks when certain conditions are met, such as specific branch.

![](https://i.imgur.com/llEoE4e.png)


## Deployment
Application deployment can be achieved through the utilization of either a `Go` or `Flask` server, orchestrated using docker-compose,
and hosted on the cloud self-hosting service provided by [Collify](). Please note that the Flask server resides on a distinct branch.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ version: '3'

services:
web:
image: ujstor/portfolio-web-go
image: ujstor/portfolio-web-go:1.0.0
ports:
- '5000:5000'

0 comments on commit b7e72f2

Please sign in to comment.