mirror of
https://github.com/softwareshinobi/self-hosted-wordpress-server.git
synced 2025-10-03 19:43:18 +08:00
compose pull before starting
This commit is contained in:
parent
503467d7a5
commit
6d30a43399
1 changed files with 6 additions and 4 deletions
10
compose.bash
10
compose.bash
|
@ -2,18 +2,20 @@
|
|||
|
||||
##
|
||||
|
||||
reset;
|
||||
reset
|
||||
|
||||
clear;
|
||||
clear
|
||||
|
||||
##
|
||||
|
||||
set -e;
|
||||
set -e
|
||||
|
||||
set -x;
|
||||
set -x
|
||||
|
||||
##
|
||||
|
||||
docker compose pull
|
||||
|
||||
docker compose down --remove-orphans
|
||||
|
||||
docker compose up --build -d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue