From 7bff751328834a8b93c6831b7079c4ad1c91fb67 Mon Sep 17 00:00:00 2001 From: debian Date: Thu, 15 Feb 2024 17:44:38 +0100 Subject: [PATCH] include startup script for postgres --- project/db/postgres/postgres.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/db/postgres/postgres.yml b/project/db/postgres/postgres.yml index 9f6b7af..a765dfb 100644 --- a/project/db/postgres/postgres.yml +++ b/project/db/postgres/postgres.yml @@ -19,6 +19,7 @@ services: PGID: 5050 volumes: - ${DB_PATH}/postgres/data/postgres:/var/lib/postgresql/data + - ${DB_PATH}/postgres/init/postgres:/docker-entrypoint-initdb.d labels: # Watchtower - "com.centurylinklabs.watchtower.enable=true" @@ -40,6 +41,7 @@ services: PGID: 5050 volumes: - ${DB_PATH}/postgres/data/postgres-with-pg-vector:/var/lib/postgresql/data + - ${DB_PATH}/postgres/init/postgres-with-pg-vector:/docker-entrypoint-initdb.d labels: # Watchtower - "com.centurylinklabs.watchtower.enable=true" \ No newline at end of file