/sourcegraph-release-train

Primary LanguageShellGNU General Public License v3.0GPL-3.0

sourcegraph-oss-release-train

Docker Image Version (latest semver) Docker Image Size (latest semver) Docker Pulls

Docker Image Version (latest semver) Docker Pulls

Release train

This repo just creates a build pipeline on top of sourcegraph-OSS. The enterprise version is great, but I cannot afford it beyond the trial, and since I like automating things,
I thought I'd automate the release pipeline for the OSS docker image.

Simple run conf

mkdir -p ~/.sourcegraph/config
mkdir -p ~/.sourcegraph/data

docker run -d \
  --publish 7080:7080 \
  --publish 127.0.0.1:3370:3370 \
  --volume ~/.sourcegraph/config:/etc/sourcegraph \
  --volume ~/.sourcegraph/data:/var/opt/sourcegraph \
  --name sourcegraph \
  jensim/sourcegraph-server-oss:latest

docker-compose.yml

version: '3.3'

services:
  sourcegraph:
    image: jensim/sourcegraph-server-oss:latest
    ports:
      - "7080:7080"
    volumes:
      - .sourcegraph/config:/etc/sourcegraph
      - .sourcegraph/data:/var/opt/sourcegraph
      - .sourcegraph/site-conf:/root