cleanup deployment
This commit is contained in:
parent
41be255144
commit
c863e5fe21
3 changed files with 8 additions and 17 deletions
4
Makefile
4
Makefile
|
@ -8,9 +8,9 @@ psql:
|
|||
|
||||
update:
|
||||
read -p "Update will cause downtime of the server. Are you sure you want to continue? Press Ctrl+c to abort!" _
|
||||
$(COMPOSE) down
|
||||
$(COMPOSE) pull
|
||||
$(COMPOSE) run inventree-server invoke update
|
||||
$(COMPOSE) down
|
||||
$(COMPOSE) run --rm inventree-server invoke update
|
||||
$(COMPOSE) up -d
|
||||
|
||||
data: # podman does not autocreate data folder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue