include startup script for postgres

This commit is contained in:
debian
2024-02-15 17:44:38 +01:00
parent 2ae7d0cc70
commit 7bff751328

View File

@@ -19,6 +19,7 @@ services:
PGID: 5050 PGID: 5050
volumes: volumes:
- ${DB_PATH}/postgres/data/postgres:/var/lib/postgresql/data - ${DB_PATH}/postgres/data/postgres:/var/lib/postgresql/data
- ${DB_PATH}/postgres/init/postgres:/docker-entrypoint-initdb.d
labels: labels:
# Watchtower # Watchtower
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
@@ -40,6 +41,7 @@ services:
PGID: 5050 PGID: 5050
volumes: volumes:
- ${DB_PATH}/postgres/data/postgres-with-pg-vector:/var/lib/postgresql/data - ${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: labels:
# Watchtower # Watchtower
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"