File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # This script just runs the latest published image and does not build it locally.
4-
5- docker pull ghcr.io/payloadcms/postgis-vector:latest && docker run --rm \
3+ docker pull ghcr.io/payloadcms/postgis-vector:latest && \
4+ # Stop existing container if it exists
5+ docker rm -f postgis-vector || true && \
6+ # Run new container
7+ docker run --rm \
8+ --name postgis-vector \
69 -e POSTGRES_USER=devuser \
710 -e POSTGRES_PASSWORD=devpassword \
811 -e POSTGRES_DB=mydb \
912 -e PAYLOAD_DATABASE=postgres \
1013 -p 5433:5432 \
11- ghcr.io/payloadcms/postgis-vector:latest
14+ ghcr.io/payloadcms/postgis-vector:latest
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Stop existing container if it exists
4+ docker rm -f pgvectortest || true && \
5+ # Run new container
36docker run --rm \
7+ --name pgvectortest \
48 -e POSTGRES_USER=devuser \
59 -e POSTGRES_PASSWORD=devpassword \
610 -e POSTGRES_DB=mydb \
You can’t perform that action at this time.
0 commit comments