-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compose based deployment docs #4
base: main
Are you sure you want to change the base?
Changes from all commits
ca3fc11
84d5682
7aa2bf8
ce25873
b95883b
f3c72b6
9deca46
3a0fa27
2329b3c
35a3509
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: Compose Based Deployment | ||
--- | ||
|
||
<head> | ||
<title>Environment Setup</title> | ||
<meta | ||
name="description" | ||
content="Here we'll deploy our pipeline in the Docker Container" | ||
/> | ||
</head> | ||
|
||
Here we'll deploy our pipeline in the Docker Container using compose. | ||
|
||
## Pre-requisites: | ||
- Docker and Docker Swarm for running the compose services | ||
- Make cli for running Makefile | ||
|
||
## Setting up the Pipeline | ||
- ### **Clone the repository** | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove every instruction associated with vault, jenkins etc. We don't need to install them. |
||
``` | ||
git clone https://github.com/SamagraX-RCW/devops.git | ||
``` | ||
|
||
- ### **Run the scripts to install Docker and Docker Compose** | ||
``` | ||
chmod +x ./scripts/setup.sh | ||
./scripts/setup.sh | ||
``` | ||
|
||
- ### **Now run the compose file to deploy Registry, Nginx and Vault** | ||
``` | ||
docker compose up -d | ||
``` | ||
|
||
![Docker Compose image](../assets/docker_compose_up.png) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only this step is needed after the pre-requisites are met. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. okay |
||
|
||
- ### **Start RCW Services** | ||
``` | ||
make start | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These pre-requisites are wrong. we only need docker-compose, docker and make for this. Not jenkins vault etc.