포스트그레스큐엘(PostgreSQL) 도커 실행시 sql 파일 같이 실행 시키기
Initialization scripts 이 하나에서 파생 된 이미지에서 추가 초기화 작업을 수행하려는 경우, 하나 이상의 추가 .sql, .sql.gz또는 .sh아래 스크립트를 /docker entrypoint initdb.d(필요하면 디렉토리를 생성). 진입 점이 initdb기본 postgres사용자 및 데이터베이스
2 min read
1 posts
Initialization scripts 이 하나에서 파생 된 이미지에서 추가 초기화 작업을 수행하려는 경우, 하나 이상의 추가 .sql, .sql.gz또는 .sh아래 스크립트를 /docker entrypoint initdb.d(필요하면 디렉토리를 생성). 진입 점이 initdb기본 postgres사용자 및 데이터베이스