From 3622196fb22e79bd55af88f3cf219389b025514c Mon Sep 17 00:00:00 2001 From: liyaka Date: Sun, 15 Sep 2024 22:39:15 +0300 Subject: [PATCH] add volume to mysql and update paths --- deployment/docker-compose/docker-compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deployment/docker-compose/docker-compose.yaml b/deployment/docker-compose/docker-compose.yaml index d7095dffd4..968ad4e877 100644 --- a/deployment/docker-compose/docker-compose.yaml +++ b/deployment/docker-compose/docker-compose.yaml @@ -16,6 +16,8 @@ services: retries: 300 ports: - "3306:3306" + volumes: # Mounted on your $HOME folder + - ~/opik/mysql:/var/lib/mysql/ redis: image: redis:7.2.4-alpine3.19 @@ -46,8 +48,8 @@ services: - "8123:8123" # HTTP default port - "9000:9000" # Native Protocol port volumes: # Mounted on your $HOME folder - - ~/clickhouse/data:/var/lib/clickhouse/ - - ~/clickhouse/logs:/var/log/clickhouse-server/ + - ~/opik/clickhouse/data:/var/lib/clickhouse/ + - ~/opik/clickhouse/logs:/var/log/clickhouse-server/ healthcheck: test: [ "CMD", "wget", "--spider", "-q", "http://127.0.0.1:8123/ping" ] interval: 1s