Skip to content

Commit

Permalink
Add docker volumes (#270)
Browse files Browse the repository at this point in the history
* add docker volumes for context storages

* remove stats volume names
  • Loading branch information
RLKRo authored Nov 8, 2023
1 parent 832e430 commit a246c56
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
restart: unless-stopped
ports:
- 3307:3306
volumes:
- mysql-data:/var/lib/mysql
psql:
env_file: [.env_file]
image: postgres:latest
Expand All @@ -16,6 +18,8 @@ services:
restart: unless-stopped
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
env_file: [.env_file]
image: redis:latest
Expand All @@ -25,6 +29,8 @@ services:
command: --requirepass pass
ports:
- 6379:6379
volumes:
- redis-data:/data
mongo:
env_file: [.env_file]
image: mongo:latest
Expand All @@ -33,6 +39,8 @@ services:
restart: unless-stopped
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
ydb:
env_file: [.env_file]
image: cr.yandex/yc/yandex-docker-local-ydb:latest
Expand All @@ -44,6 +52,9 @@ services:
# - 2135:2135
- 2136:2136
hostname: localhost
volumes:
- ydb-data:/ydb_data
- ydb-certs:/ydb_certs
dashboard:
env_file: [.env_file]
build:
Expand Down Expand Up @@ -112,6 +123,10 @@ services:
- "4318:4318" # OTLP over HTTP receiver
volumes:
ch-data:
name: "ch-data"
dashboard-data:
name: "dashboard-data"
mysql-data:
postgres-data:
redis-data:
mongo-data:
ydb-data:
ydb-certs:

0 comments on commit a246c56

Please sign in to comment.