Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plausible-analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
varac-projects
plausible-analytics
Commits
f7885a93
Unverified
Commit
f7885a93
authored
Nov 10, 2020
by
Johan Fagerberg
Committed by
GitHub
Nov 10, 2020
Browse files
Options
Downloads
Patches
Plain Diff
Change Docker volume used by Clickhouse to a local directory (#404)
Previously it would pollute the users home directory
parent
3ff2c79b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
Makefile
+1
-1
1 addition, 1 deletion
Makefile
with
4 additions
and
1 deletion
.gitignore
+
3
−
0
View file @
f7885a93
...
@@ -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/
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
f7885a93
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment