Skip to content

Commit 3293827

Browse files
committed
chore: add docker-run helper
1 parent 5bb043b commit 3293827

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docker-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker build -t pgtest .
3+
docker build -t pgvectortest .

docker-run.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
docker run --rm \
2+
-e POSTGRES_USER=devuser \
3+
-e POSTGRES_PASSWORD=devpassword \
4+
-e POSTGRES_DB=mydb \
5+
-e PAYLOAD_DATABASE=postgres \
6+
-p 5433:5432 \
7+
pgvectortest:latest

0 commit comments

Comments
 (0)