added optional env FORCE_CPU and updated README (#4446)

This commit is contained in:
Manish Gupta 2024-05-14 13:45:04 +05:30 committed by GitHub
parent 18ba4009e0
commit 2593dc8afc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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
@ -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:

View File

@ -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