Skip to content
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

Uatnew #30

Open
wants to merge 9 commits into
base: altv1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .env

This file was deleted.

19 changes: 19 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pipeline {
agent any
stages {
stage('Checkout'){
steps{
git branch: 'uatnew' , url: 'https://github.com/transform1234/alt-backend.git'
}
}

stage ('Build') {
steps {
sh 'docker rm -f shiksha-backend'
sh 'docker rmi backend_main'
sh 'cd /var/lib/jenkins/workspace/Backend/'
sh 'docker-compose up -d'
}
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
## License

Nest is [MIT licensed](LICENSE).


3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
- .env
networks:
- webnet
restart: always
# depends_on:
# - redis
# - postgres
Expand All @@ -42,4 +43,4 @@ services:
networks:
webnet:
# volumes:
# pgdata:
# pgdata: