Skip to content
Snippets Groups Projects
Unverified Commit f7885a93 authored by Johan Fagerberg's avatar Johan Fagerberg Committed by GitHub
Browse files

Change Docker volume used by Clickhouse to a local directory (#404)

Previously it would pollute the users home directory
parent 3ff2c79b
Branches
No related tags found
No related merge requests found
...@@ -25,6 +25,9 @@ plausible-*.tar ...@@ -25,6 +25,9 @@ plausible-*.tar
# If NPM crashes, it generates a log, let's ignore it too. # If NPM crashes, it generates a log, let's ignore it too.
npm-debug.log npm-debug.log
# If running Clickhouse through the Makefile, its data is written here
/.clickhouse_db_vol/
# The directory NPM downloads your dependencies sources to. # The directory NPM downloads your dependencies sources to.
/assets/node_modules/ /assets/node_modules/
/tracker/node_modules/ /tracker/node_modules/
......
clickhouse: clickhouse:
docker run --detach -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$HOME/clickhouse_db_vol:/var/lib/clickhouse yandex/clickhouse-server docker run --detach -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse yandex/clickhouse-server
postgres: postgres:
docker run --detach -e POSTGRES_PASSWORD="postgres" -p 5432:5432 postgres docker run --detach -e POSTGRES_PASSWORD="postgres" -p 5432:5432 postgres
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment