Skip to content

Commit 8c00ef5

Browse files
authored
feat(dev): add names for persistent volumes (#18056)
1 parent e0f3c86 commit 8c00ef5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ volumes:
66
policies:
77
caches:
88
rstuf-metadata:
9+
pgdata:
10+
cachedata:
911

1012
services:
1113
db:
@@ -21,6 +23,7 @@ services:
2123
interval: 1s
2224
start_period: 10s
2325
volumes:
26+
- pgdata:/var/lib/postgresql/data
2427
- ./dev/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:z
2528
- ./dev/example.sql.xz:/example.sql.xz:z
2629
- ./dev/db/post-migrations.sql:/post-migrations.sql:z
@@ -33,6 +36,8 @@ services:
3336

3437
redis:
3538
image: redis:7.0
39+
volumes:
40+
- cachedata:/data
3641

3742
opensearch:
3843
build:

0 commit comments

Comments
 (0)