Skip to content

Commit

Permalink
chore: use pgvector for postgres image instead of building
Browse files Browse the repository at this point in the history
  • Loading branch information
khorshuheng committed Sep 30, 2024
1 parent 757d0e5 commit d99f85c
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 d99f85c

Please sign in to comment.