mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-06 00:31:18 +00:00

1. Use "source" while executing quickstart.sh to bring env var to the context of calling shell 2. Use sudo while running chown in quickstart.sh 3. Update main readme 4. Add missing container names
11 lines
383 B
Bash
Executable File
11 lines
383 B
Bash
Executable File
#!/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
|
|
sudo chown 1000:1000 ${DATA_STORAGE_FOLDER}/elasticsearch
|
|
|
|
docker-compose pull && docker-compose up --build
|