Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
SigNoz
Commits
53d5e37b
Unverified
Commit
53d5e37b
authored
3 years ago
by
Ankit Nayan
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
feat: enable data persistence in clickhouse docker (#297)
parent
69821cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/docker/clickhouse-setup/docker-compose.yaml
+2
-0
deploy/docker/clickhouse-setup/docker-compose.yaml
with
2 additions
and
0 deletions
+2
-0
deploy/docker/clickhouse-setup/docker-compose.yaml
+
2
-
0
View file @
53d5e37b
...
...
@@ -12,6 +12,8 @@ services:
volumes
:
-
./clickhouse-config.xml:/etc/clickhouse-server/config.xml
-
./docker-entrypoint-initdb.d/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
-
./data/clickhouse/:/var/lib/clickhouse/
healthcheck
:
# "clickhouse", "client", "-u ${CLICKHOUSE_USER}", "--password ${CLICKHOUSE_PASSWORD}", "-q 'SELECT 1'"
test
:
[
"
CMD"
,
"
wget"
,
"
--spider"
,
"
-q"
,
"
localhost:8123/ping"
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help