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
- Host: GitHub
- URL: https://github.com/vedanta/dmp
- Owner: vedanta
- Created: 2017-05-30T20:44:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T17:59:47.000Z (about 9 years ago)
- Last Synced: 2025-07-27T03:38:24.557Z (11 months ago)
- Topics: automation, devops
- Language: SaltStack
- Homepage:
- Size: 1.58 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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
```