修改相关资源路径
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- ./src/main/resources/sql/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U label -d label_db"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user