Skip to content

Commit 36890eb

Browse files
committed
add postgres init volume to prodcution docker-compose
1 parent dcec46d commit 36890eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ services:
3636
- ./database/.env
3737
volumes:
3838
- ./database/db_data:/var/lib/postgresql/data/
39+
- ./database/initdb.sql:/docker-entrypoint-initdb.d/init.sql
3940
container_name: postgres_db
4041

4142
networks:

0 commit comments

Comments
 (0)