Skip to content

Commit

Permalink
added optional env FORCE_CPU and updated README (#4446)
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub authored May 14, 2024
1 parent 18ba400 commit 2593dc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/selfhost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ This will prompt you with the below options.

```bash
Select a Action you want to perform:
1) Install (arm64)
1) Install (x86_64)
2) Start
3) Stop
4) Restart
Expand Down Expand Up @@ -344,7 +344,7 @@ Similarly, you can view the logs of other services.

There would a time when you might want to backup your data from docker volumes to external storage like S3 or drives.

Lets again run the `./setup.sh` command. You will again be prompted with the below options. This time select `8` to view logs.
Lets again run the `./setup.sh` command. You will again be prompted with the below options. This time select `7` to Backup the data.

```bash
Select a Action you want to perform:
Expand Down
2 changes: 1 addition & 1 deletion deploy/selfhost/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ fi

# CPU ARCHITECHTURE BASED SETTINGS
CPU_ARCH=$(uname -m)
if [[ $CPU_ARCH == "amd64" || $CPU_ARCH == "x86_64" || ( $BRANCH == "master" && ( $CPU_ARCH == "arm64" || $CPU_ARCH == "aarch64" ) ) ]];
if [[ $FORCE_CPU == "amd64" || $CPU_ARCH == "amd64" || $CPU_ARCH == "x86_64" || ( $BRANCH == "master" && ( $CPU_ARCH == "arm64" || $CPU_ARCH == "aarch64" ) ) ]];
then
USE_GLOBAL_IMAGES=1
DOCKERHUB_USER=makeplane
Expand Down

0 comments on commit 2593dc8

Please sign in to comment.