mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 08:15:24 -07:00
21 lines
598 B
Bash
Executable File
21 lines
598 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Description: Backend for syntax highlighting operations.
|
|
#
|
|
# Disk: none
|
|
# Network: 100mbps
|
|
# Liveness probe: HTTP GET http://syntect-server:9238/health
|
|
# Ports exposed to other Sourcegraph services: 9238/TCP 6060/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=syntect-server \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=4 \
|
|
--memory=6g \
|
|
index.docker.io/sourcegraph/syntax-highlighter:3.15.1@sha256:333abb45cfaae9c9d37e576c3853843b00eca33a40a7c71f6b93211ed96528df
|
|
|
|
echo "Deployed syntect-server service"
|