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

https://github.com/vedanta/dmp

Sample: DevOps Migration Pipeline
https://github.com/vedanta/dmp

automation devops

Last synced: 8 months ago
JSON representation

Sample: DevOps Migration Pipeline

Awesome Lists containing this project

README

          

## Sample: DevOps Migration Pipeline

### On Virtual Machine
Create VM:
```
# vagrant up dmp
```
Install salt:
```
# sudo /srv/salt/install_minion.sh
```
Run state:
```
# sudo salt-call -l quiet --file-root=/srv/salt --pillar-root=/srv/salt/pillar --config-dir=/srv/salt/conf --local state.apply
```

### Docker Container (single)
Build Container: (Run from top level source directory)
```
# docker build -t vedanta/dmp-single:latest -f dmp-single.dockerfile .
```
Run Container:
```
# docker run --name dmp-sample_1 -p 80:80 -it vedanta/dmp-single:latest
```
Run Container in Backgroud:
```
# docker run --name dmp-sample_2 -p 80:80 -itd vedanta/dmp-single:latest
```

### Start up Containers with a Routing Proxy
```
# sudo salt-call -l debug --file-root=$HOME/srv/salt --pillar-root=$HOME/srv/salt/pillar --config-dir=$HOME/srv/salt/conf --local state.apply docker-deploy-withproxy
```