mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-06 01:05:26 -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.19.2@sha256:625c556f5cf456144e51e3fe55e6312398b7714994165b4f605711e6f7d862a0
|
|
|
|
echo "Deployed syntect-server service"
|