Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pure-docker/deploy-codeinsights-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ docker run --detach \
-e POSTGRES_USER=postgres \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
-v $PWD/../codeinsights-db/conf:/conf \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-v $PWD/../codeinsights-db/conf:/conf \
-v $(pwd)/../codeinsights-db/conf:/conf \

Not sure it really matters but we use this syntax in deploy-grafana / deploy-prometheus. Full disclosure: I can't remember which approach is more universal.

index.docker.io/sourcegraph/codeinsights-db:3.36.3@sha256:98133abeb1fc6d02ee9f0fca6cc3ab65e2a3a47a07db96a56aa0869389393fce

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
Expand Down
1 change: 1 addition & 0 deletions pure-docker/deploy-codeintel-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docker run --detach \
--memory=2g \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
-v $PWD/../codeintel-db/conf:/conf \
index.docker.io/sourcegraph/codeintel-db:3.36.3@sha256:fe3e956733e6ad3599c79d8ca8754249281eb3918aab110e99189cc9b052e28a

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
Expand Down
1 change: 1 addition & 0 deletions pure-docker/deploy-pgsql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docker run --detach \
--memory=2g \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
-v $PWD/../codeinsights-db/conf:/conf \
index.docker.io/sourcegraph/postgres-12-alpine:135107_2022-03-03_9498a8bd3366@sha256:e26b159dc7c0c47d136886390c899816e669a3c2c1ead689bdad0b610364e45e

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
Expand Down