Skip to content

Commit

Permalink
update install to use docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Aug 28, 2024
1 parent 77ecab7 commit 447f711
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ if [[ $(docker volume ls | grep OasisData -c) -gt 1 || -d $SCRIPT_DIR/$GIT_PIWIN

if [[ "$WIPE" == 1 ]]; then
# stop oasisui_proxy if running
docker-compose -f $SCRIPT_DIR/oasis-ui-proxy.yml down --remove-orphans
docker-compose -f $SCRIPT_DIR/portainer.yaml down --remove-orphans
docker compose -f $SCRIPT_DIR/oasis-ui-proxy.yml down --remove-orphans
docker compose -f $SCRIPT_DIR/portainer.yaml down --remove-orphans

set +e
docker-compose -f $SCRIPT_DIR/oasis-platform.yml -f $SCRIPT_DIR/oasis-ui-standalone.yml down --remove-orphans
docker compose -f $SCRIPT_DIR/oasis-platform.yml -f $SCRIPT_DIR/oasis-ui-standalone.yml down --remove-orphans
set -e
printf "Deleting docker data: \n"
rm -rf $SCRIPT_DIR/$GIT_PIWIND
Expand Down Expand Up @@ -68,5 +68,5 @@ docker pull coreoasis/oasisui_app:$VERS_UI
set -e

# RUN OasisPlatform / OasisUI / Portainer
docker-compose -f $SCRIPT_DIR/oasis-platform.yml -f $SCRIPT_DIR/oasis-ui-standalone.yml up -d --no-build
docker-compose -f $SCRIPT_DIR/portainer.yaml up -d
docker compose -f $SCRIPT_DIR/oasis-platform.yml -f $SCRIPT_DIR/oasis-ui-standalone.yml up -d --no-build
docker compose -f $SCRIPT_DIR/portainer.yaml up -d

0 comments on commit 447f711

Please sign in to comment.