mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
pgsql: mount volume to the correct data storage location in the c… (#68)
This commit is contained in:
1 parent
f7b3d2f6bc
commit
a6ef8443d4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ docker run --detach \
|
||||
--restart=always \
|
||||
--cpus=4 \
|
||||
--memory=2g \
|
||||
-v ~/sourcegraph-docker/pgsql-disk:/data/pgdata \
|
||||
-v ~/sourcegraph-docker/pgsql-disk:/data/ \
|
||||
index.docker.io/sourcegraph/postgres-11.4:19-11-14_b084311b@sha256:072481559d559cfd9a53ad77c3688b5cf583117457fd452ae238a20405923297
|
||||
|
||||
# Sourcegraph requires PostgreSQL 9.6+. Generally newer versions are better,
|
||||
|
||||
@@ -520,7 +520,7 @@ services:
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
volumes:
|
||||
- '${DATA_ROOT}/pgsql-disk:/data/pgdata'
|
||||
- '${DATA_ROOT}/pgsql-disk:/data/'
|
||||
networks:
|
||||
- sourcegraph
|
||||
restart: always
|
||||
|
||||
Reference in new issue
Block a user