Skip to content

Commit

Permalink
add volume to mysql and update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
liyaka committed Sep 15, 2024
1 parent 3c0d878 commit 3622196
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deployment/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3622196

Please sign in to comment.