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

update install.sh to use docker compose #46

Merged
merged 1 commit into from
Oct 31, 2024
Merged
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
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