pgsql: mount volume to the correct data storage location in the c… (#68)

This commit is contained in:
Geoffrey Gilmore authored and GitHub committed 2020-01-24 16:43:46 -08:00
1 parent f7b3d2f6bc
commit a6ef8443d4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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