mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-07 17:23:11 +00:00
11 lines
378 B
Bash
11 lines
378 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
export DATA_STORAGE_FOLDER=${DATA_STORAGE_FOLDER:=/tmp/datahub}
|
||
|
mkdir -p ${DATA_STORAGE_FOLDER}
|
||
|
|
||
|
# https://discuss.elastic.co/t/elastic-elasticsearch-docker-not-assigning-permissions-to-data-directory-on-run/65812/4
|
||
|
mkdir -p ${DATA_STORAGE_FOLDER}/elasticsearch
|
||
|
chown 1000:1000 ${DATA_STORAGE_FOLDER}/elasticsearch
|
||
|
|
||
|
docker-compose pull && docker-compose up --build
|