mirror of
https://github.com/intari/roocodetests_1.git
synced 2025-04-07 20:49:11 +00:00
redeploy
This commit is contained in:
parent
e625342332
commit
83be2df651
2 changed files with 11 additions and 0 deletions
|
@ -103,6 +103,12 @@ docker-compose logs -f api
|
|||
docker-compose down && docker-compose up -d --build
|
||||
```
|
||||
|
||||
```bash
|
||||
docker-compose down && docker-compose up -d --force-recreate --build
|
||||
```
|
||||
docker-compose up --force-recreate --build
|
||||
|
||||
|
||||
Logs (app)
|
||||
```bash
|
||||
docker logs booksearch_app -f
|
||||
|
|
5
redeploy.sh
Normal file
5
redeploy.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
git reset --hard
|
||||
git pull -v
|
||||
docker-compose down
|
||||
docker-compose up --force-recreate --build -d
|
Loading…
Add table
Reference in a new issue