fix: uuid-ossp extension create failed in pgsql (#10)

This commit is contained in:
John Wang
2023-05-15 12:03:08 +08:00
committed by GitHub
parent 19eaf27126
commit 2e1cd3db28
4 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,6 @@ services:
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- ./volumes/db/data:/var/lib/postgresql/data
- ./volumes/db/scripts:/docker-entrypoint-initdb.d/
ports:
- "5432:5432"

View File

@@ -163,7 +163,6 @@ services:
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- ./volumes/db/data:/var/lib/postgresql/data
- ./volumes/db/scripts:/docker-entrypoint-initdb.d/
ports:
- "5432:5432"

View File

@@ -1 +0,0 @@
psql -U postgres -d dify -c 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp";'