Skip to content

Commit f7e24b2

Browse files
author
Ferenc Hammerl
committed
Execute .sql files when compose creates the volume
Only done once per created volume.
1 parent 93658d1 commit f7e24b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
- "5432:5432"
2222
volumes:
2323
- pg_db:/var/lib/postgresql/data
24+
- ../dbconfig/:/docker-entrypoint-initdb.d/
2425

2526
volumes:
2627
pg_db:

0 commit comments

Comments
 (0)