udpate db volumes to bind
This commit is contained in:
1 parent
d625a21302
commit
24e8371a53
1 file changed
+9
-3
@@ -234,6 +234,12 @@ services:
|
||||
PGDATABASE: ${POSTGRES_DB}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
volumes:
|
||||
- ./volumes/db/realtime.sql:/docker-entrypoint-initdb.d/realtime.sql
|
||||
- ./volumes/db/roles.sql:/docker-entrypoint-initdb.d/roles.sql
|
||||
- ./volumes/db/data:/var/lib/postgresql/data
|
||||
- type: bind
|
||||
source: ./volumes/db/realtime.sql
|
||||
target: /docker-entrypoint-initdb.d/realtime.sql
|
||||
- type: bind
|
||||
source: ./volumes/db/roles.sql
|
||||
target: /docker-entrypoint-initdb.d/roles.sql
|
||||
- type: bind
|
||||
source: ./volumes/db/data
|
||||
target: /var/lib/postgresql/data
|
||||
Reference in new issue
Block a user