Skip to content

Commit

Permalink
Merge pull request #851 from AppFlowy-IO/use-pgvector-image
Browse files Browse the repository at this point in the history
chore: use pgvector for postgres image instead of building
  • Loading branch information
khorshuheng authored Sep 30, 2024
2 parents 75c3f0d + d99f85c commit 5193d01
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 51 deletions.
4 changes: 1 addition & 3 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ services:

postgres:
restart: on-failure
build:
context: ./postgres
dockerfile: postgres.Dockerfile
image: pgvector/pgvector:pg16
ports:
- "5432:5432"
environment:
Expand Down
4 changes: 1 addition & 3 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ services:

postgres:
restart: on-failure
build:
context: ./postgres
dockerfile: postgres.Dockerfile
image: pgvector/pgvector:pg16
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_DB=${POSTGRES_DB:-postgres}
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ services:

postgres:
restart: on-failure
build:
context: ./postgres
dockerfile: postgres.Dockerfile
image: pgvector/pgvector:pg16
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_DB=${POSTGRES_DB:-postgres}
Expand Down
27 changes: 0 additions & 27 deletions docker/postgres.Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions postgres/postgres.Dockerfile

This file was deleted.

0 comments on commit 5193d01

Please sign in to comment.