#!/usr/bin/env bash set -e source ./replicas.sh # Description: Serves precise code intelligence requests. # # Ports exposed to other Sourcegraph services: 3186/TCP (server) # Ports exposed to the public internet: none # docker run --detach \ --name=precise-code-intel-api-server \ --network=sourcegraph \ --restart=always \ --cpus=2 \ --memory=2g \ -e 'PRECISE_CODE_INTEL_BUNDLE_MANAGER_URL=http://precise-code-intel-bundle-manager:3187' \ -e 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090' \ index.docker.io/sourcegraph/precise-code-intel-api-server:59913_2020-04-02_5ae630c echo "Deployed precise-code-intel-api-server service"