Removed configs. This time for sure :D
This commit is contained in:
@@ -12,10 +12,6 @@ services:
|
|||||||
# PostgreSQL will be stored in a local folder
|
# PostgreSQL will be stored in a local folder
|
||||||
- ${PATH_TO_POSTGRES}:/var/lib/postgresql/data
|
- ${PATH_TO_POSTGRES}:/var/lib/postgresql/data
|
||||||
- ${PATH_TO_SCRIPT}:/docker-entrypoint-initdb.d/init-data.sh
|
- ${PATH_TO_SCRIPT}:/docker-entrypoint-initdb.d/init-data.sh
|
||||||
configs:
|
|
||||||
- source: n8n_init_script
|
|
||||||
target: /docker-entrypoint-initdb.d/init-data.sh
|
|
||||||
mode: 0755 # Important: make the script executable
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
|
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user