From ccf5ea4f546dcbf988cc1bdca2bb7120c21406e5 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 1 Nov 2018 01:19:40 -0700 Subject: [PATCH] frontend: fix comment about scaling (cannot be inline) --- deploy-frontend-internal.sh | 4 ---- deploy-frontend.sh | 9 +++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/deploy-frontend-internal.sh b/deploy-frontend-internal.sh index d391c8e..a3e9112 100755 --- a/deploy-frontend-internal.sh +++ b/deploy-frontend-internal.sh @@ -16,10 +16,6 @@ docker create \ --network=sourcegraph \ --restart=always \ -e PGHOST=pgsql \ - # Note: These are space-seperated lists, so you can add more gitservers, - # searchers, or symbols container instances for scaling purposes. - # - # Be sure to apply changes here to both frontend and frontend-internal services. -e SRC_GIT_SERVERS=gitserver-0:3178 \ -e SEARCHER_URL=http://searcher-0:3181 \ -e SYMBOLS_URL=http://symbols-0:3184 \ diff --git a/deploy-frontend.sh b/deploy-frontend.sh index f45f43f..a98eaaf 100755 --- a/deploy-frontend.sh +++ b/deploy-frontend.sh @@ -16,10 +16,6 @@ docker create \ --network=sourcegraph \ --restart=always \ -e PGHOST=pgsql \ - # Note: These are space-seperated lists, so you can add more gitservers, - # searchers, or symbols container instances for scaling purposes. - # - # Be sure to apply changes here to both frontend and frontend-internal services. -e SRC_GIT_SERVERS=gitserver-0:3178 \ -e SEARCHER_URL=http://searcher-0:3181 \ -e SYMBOLS_URL=http://symbols-0:3184 \ @@ -33,6 +29,11 @@ docker create \ # -e TLS_CERT=$MY_SECRET_TLS_CERT \ # -e TLS_KEY=$MY_SECRET_TLS_KEY \ +# Note: SRC_GIT_SERVERS, SEARCHER_URL, and SYMBOLS_URL are space-seperated +# lists which each allow you to specify more container instances for scaling +# purposes. Be sure to also apply such a change here to the frontend-internal +# service. + # Create /etc/sourcegraph/config.json docker cp ./sourcegraph sourcegraph-frontend:/etc/