mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
pure-docker: move pure-docker to ./pure-docker (#454)
This change will require additional actions for users using the pure-docker deployment option upgrading past 3.30.x - Please refer to https://docs.sourcegraph.com/admin/updates/pure_docker for more details.
This commit is contained in:
1 parent
a7f22c6871
commit
76ea424bd2
36 files changed
+120
-84
No files matched your search
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Description: PostgreSQL database for code intelligence data.
|
||||
#
|
||||
# Disk: 128GB / persistent SSD
|
||||
# Network: 1Gbps
|
||||
# Liveness probe: 5432/TCP
|
||||
# Ports exposed to other Sourcegraph services: 5432/TCP 9187/TCP
|
||||
# Ports exposed to the public internet: none
|
||||
#
|
||||
VOLUME="$HOME/sourcegraph-docker/codeintel-db-disk"
|
||||
./ensure-volume.sh $VOLUME 999
|
||||
docker run --detach \
|
||||
--name=codeintel-db \
|
||||
--network=sourcegraph \
|
||||
--restart=always \
|
||||
--cpus=4 \
|
||||
--memory=2g \
|
||||
-e PGDATA=/var/lib/postgresql/data/pgdata \
|
||||
-v $VOLUME:/var/lib/postgresql/data/ \
|
||||
index.docker.io/sourcegraph/codeintel-db:91468_2021-03-30_b77d2e6@sha256:aa937c1c8ab20f3c809f04480d5a73791b05be59d3183726fd499ae0a123e982
|
||||
|
||||
# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
|
||||
# but anything 12 and higher is supported.
|
||||
|
||||
echo "Deployed codeintel-db service"
|
||||
Reference in new issue
Block a user