Skip to content

Commit 1d5e72b

Browse files
authored
chore: install-bika.sh
1. 提前创建es 持久化存储卷 2. 支持安装 arm64 版本
1 parent 2c6058e commit 1d5e72b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install-bika.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ notes () {
1111
Before you submit any github issue, please do the following check:
1212
* make sure the docker daemon is running
1313
* make sure you use docker compose v2: recommend 2.x.x, got $(docker compose version --short 2>/dev/null || echo not install)
14+
* make sure the kernel version is greater than 4.10+, got $(uname -r)
1415
* check your internet connection if timeout happens
1516
* check for potential port conflicts if you have local services listening on all interfaces (e.g. another redis container listening on *:6379)
1617
===========================
@@ -64,13 +65,14 @@ if ! docker info >/dev/null 2>&1; then
6465
fi
6566
fi
6667

67-
DOWNLOAD_URL='https://download-selfhosted.bika.ai/latest/bika-docker-amd64.tar.gz'
68+
DOWNLOAD_URL="https://download-selfhosted.bika.ai/latest/bika-docker-${arch}.tar.gz"
6869

6970
: "${DOWNLOAD_URL?✗ missing env}"
7071

7172
curl -fLo bika-docker-amd64.tar.gz "${DOWNLOAD_URL}"
7273
tar -zxvf bika-docker-amd64.tar.gz && cd bika
7374
[ ! -f .env ] && cat .env.template > .env
75+
mkdir -p .data/elasticsearch
7476

7577
docker compose --profile all down -v --remove-orphans
7678
for i in {1..50}; do

0 commit comments

Comments
 (0)