File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
docker/quick-setup/postgresql Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ networks:
22
22
storage :
23
23
name : storage
24
24
25
+ volumes :
26
+ data-elasticsearch :
27
+ data-pg :
28
+
25
29
services :
26
30
pg_database :
27
31
container_name : apim-qs-psql-db
@@ -33,7 +37,7 @@ services:
33
37
POSTGRES_PASSWORD : password
34
38
PGDATA : /var/lib/postgresql/data
35
39
volumes :
36
- - ./. data/db-postgres :/var/lib/postgresql/data
40
+ - data-pg :/var/lib/postgresql/data
37
41
ports :
38
42
- " 0.0.0.0:5455:5432"
39
43
networks :
@@ -56,7 +60,7 @@ services:
56
60
container_name : apim-qs-psql-elasticsearch
57
61
restart : always
58
62
volumes :
59
- - ./.data/ data-elasticsearch:/usr/share/elasticsearch/data
63
+ - data-elasticsearch:/usr/share/elasticsearch/data
60
64
environment :
61
65
- http.host=0.0.0.0
62
66
- transport.host=0.0.0.0
You can’t perform that action at this time.
0 commit comments