Skip to content

Commit 3496e6a

Browse files
docs/self-hosted: Remove the single-container Docker deployment (#2148)
The single-container Docker deployment (`sourcegraph/server`) was removed in Sourcegraph 7.0. This removes the pages and sections that only applied to it. ## Changes Three pages are deleted, each with a redirect: | Removed page | Redirects to | | --- | --- | | `/self-hosted/deploy/docker-compose/migrate` | `/self-hosted/deploy/docker-compose` | | `/self-hosted/ssl-https-self-signed-cert-nginx` | `/self-hosted/http-https-configuration` | | `/self-hosted/sourcegraph-nginx-mermaid` | `/self-hosted/http-https-configuration` | - **HTTP and HTTPS configuration** now covers only Kubernetes `ingress-nginx` and Docker Compose with Caddy; the server image's built-in NGINX is gone. - **Other pages** lose their `sourcegraph/server` sections and sentences. - **Nine dead `contact/sales` links** (404) now point at `https://sourcegraph.com/contact`. One was on a line this PR rewrites and failed the broken-links check. - The migration guide is deleted, not kept. It is still in the 6.12 docs. - `self-hosted/observability/alerts.mdx` is generated. I removed one bullet by hand; sourcegraph/sourcegraph#18743 removes it at the source, so the next docs sync does not bring it back. - The `src debug server` reference pages stay until sourcegraph/src-cli#1407 is released. --------- Co-authored-by: Amp <amp@ampcode.com>
1 parent 36c6be2 commit 3496e6a

26 files changed

Lines changed: 42 additions & 653 deletions

‎docs/admin/auth/saml/microsoft-adfs.mdx‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ These instructions guide you through configuring Sourcegraph as a relying party
1212

1313
- Active Directory instance where all users have email and username attributes.
1414
- An instance of ADFS running on Windows Server, joined to your Active Directory domain.
15-
- Sourcegraph should be [configured to use HTTPS](/self-hosted/http-https-configuration#nginx-sslhttps-configuration).
15+
- Sourcegraph should be [configured to use HTTPS](/self-hosted/http-https-configuration).
1616
- Ensure that `externalURL` in [advanced configuration](/admin/config/site-config) meets the following
1717
criteria:
1818
- It is the URL used by end users (no trailing slash).
@@ -114,9 +114,8 @@ All configuration is now complete. Let's test that it works.
114114

115115
## Troubleshooting
116116

117-
When troubleshooting, we recommend setting the env var `INSECURE_SAML_LOG_TRACES=1` on the
118-
`sourcegraph/server` Docker container (or the `sourcegraph-frontend` pod if Sourcegraph is deployed
119-
to a Kubernetes cluster). This logs all SAML requests and responses.
117+
When troubleshooting, we recommend [setting the env var `INSECURE_SAML_LOG_TRACES=1`](/admin/auth/saml#enable-logging-in-sourcegraph-containers)
118+
on the `sourcegraph-frontend` deployment. This logs all SAML requests and responses.
120119

121120
### Add Relying Party Trust fails on Select Data Source page
122121

‎docs/admin/code-hosts/other.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ If your code host serves git repositories over SSH, make sure your Sourcegraph i
2424
docker exec $CONTAINER ssh -p $PORT $USER@$HOSTNAME
2525
```
2626

27-
- $CONTAINER is the name or ID of your sourcegraph/server container
27+
- $CONTAINER is the name or ID of your `gitserver` container
2828
- $PORT is the port on which your code host's git server is listening for connections
2929
- $USER is your user on your code host
30-
- $HOSTNAME is the hostname of your code host from within the sourcegraph/server container (e.g. `githost.example.com`)
30+
- $HOSTNAME is the hostname of your code host from within the `gitserver` container (e.g. `githost.example.com`)
3131

3232
Here's an example:
3333

3434
```
35-
docker exec sourcegraph ssh -p 29418 admin@githost.example.com
35+
docker exec gitserver-0 ssh -p 29418 admin@githost.example.com
3636
```
3737

3838
The `url` field is then

‎docs/admin/config/site-config.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ All advanced configuration options and their default values are shown below.
12401240

12411241
If you are having trouble accessing the web UI, you can make edits to your advanced configuration by editing the configuration directly.
12421242

1243-
### Sourcegraph with Docker Compose and single-server Sourcegraph with Docker
1243+
### Sourcegraph with Docker Compose
12441244

12451245
Set `FRONTEND_CONTAINER` to:
12461246

‎docs/admin/how-to/site-admin-quickstart.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We support a number of other deployment types which are described in the [Deploy
2222

2323
### Self-hosted vs. Managed instances
2424

25-
Regardless of the deployment option you choose, Sourcegraph can be self-hosted locally or with the cloud provider of your choice. We also offer [managed instances](/cloud/) (we handle deployment, updates, and management of the instance for you). Please [contact us](https://about.sourcegraph.com/contact/sales) if you are interested in learning more about managed instances.
25+
Regardless of the deployment option you choose, Sourcegraph can be self-hosted locally or with the cloud provider of your choice. We also offer [managed instances](/cloud/) (we handle deployment, updates, and management of the instance for you). Please [contact us](https://sourcegraph.com/contact) if you are interested in learning more about managed instances.
2626

2727
## Updating your instance
2828

‎docs/admin/pings.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Sourcegraph aggregates usage and performance metrics for some product features i
1818
- The IP address of the instance (e.g. "172.xx.xx.xx")
1919
- Sourcegraph version string (e.g. "vX.X.X")
2020
- Dependency versions (e.g. "6.0.9" for Redis, or "13.0" for Postgres)
21-
- Deployment type (single Docker image, Docker Compose, Kubernetes cluster, Helm)
21+
- Deployment type (Docker Compose, Kubernetes cluster, Helm)
2222
- License key associated with your Sourcegraph Enterprise subscription
2323
- Aggregate count of current monthly users
2424
- Total count of existing user accounts

‎docs/admin/subscriptions.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
55
Organizations using Sourcegraph can [upgrade to Sourcegraph Enterprise](https://about.sourcegraph.com/pricing) to get the features that large organizations need (single sign-on, backups and recovery, cluster deployment, access to code navigation and intelligence, etc.). These additional features in Sourcegraph Enterprise are paid and not open source.
66

7-
You can [contact Sourcegraph](https://about.sourcegraph.com/contact/sales) to purchase a license. This entitles you to a license key (provided immediately after your purchase), which activates Enterprise features on your Sourcegraph instance.
7+
You can [contact Sourcegraph](https://sourcegraph.com/contact) to purchase a license. This entitles you to a license key (provided immediately after your purchase), which activates Enterprise features on your Sourcegraph instance.
88

99
## Volume discounts
1010

1111
[Contact us](https://about.sourcegraph.com/contact) to ask about volume discounts for Sourcegraph Enterprise.
1212

1313
## Pricing model
1414

15-
[Sourcegraph's pricing](https://about.sourcegraph.com/pricing) is based primarily on [total active user accounts](#how-user-accounts-are-counted). In certain situations, it is also a combination of the [number of lines of code indexed](#how-lines-of-code-are-counted). Please [contact Sourcegraph](https://about.sourcegraph.com/contact/sales) to answer specific questions about our pricing model for your use.
15+
[Sourcegraph's pricing](https://about.sourcegraph.com/pricing) is based primarily on [total active user accounts](#how-user-accounts-are-counted). In certain situations, it is also a combination of the [number of lines of code indexed](#how-lines-of-code-are-counted). Please [contact Sourcegraph](https://sourcegraph.com/contact) to answer specific questions about our pricing model for your use.
1616

1717
## How user accounts are counted
1818

‎docs/cloud/index.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Sourcegraph provisions each instance in an isolated and secure cloud environment
2121

2222
Use the button above to sign up for a free trial of Sourcegraph Cloud. When you request a trial, you will receive an email indicating the status of your request. If eligible for a cloud instance, you will receive a link to the instance URL once it's provisioned. This normally takes less than one hour during business hours. From there, we recommend using the [onboarding checklist](/getting-started/cloud-instance) to set up your instance quickly.
2323

24-
Please [contact us](https://sourcegraph.com/contact/sales) if you have specific VPN requirements or you require a large deployment with >500 users, >1,000 repos, or monorepos >5 GB.
24+
Please [contact us](https://sourcegraph.com/contact) if you have specific VPN requirements or you require a large deployment with >500 users, >1,000 repos, or monorepos >5 GB.
2525

2626
## Cloud subscription
2727

@@ -219,7 +219,7 @@ For all managed instances, we will provide security capabilities from Cloudflare
219219

220220
Your instance will be hosted in isolated Google Cloud infrastructure. See our [FAQ](#faq) below to learn more about the cloud architecture. Both your team and limited Sourcegraph personnel will have application-level administrator access to the instance.
221221

222-
Only essential Sourcegraph personnel will have access to the instance, server, code, and any other sensitive materials, such as tokens or keys. The employees or contractors with access are bound by the same terms as Sourcegraph itself. Learn more in our [security policies for Sourcegraph Cloud](https://about.sourcegraph.com/security) or [contact us](https://about.sourcegraph.com/contact/sales) with any questions or concerns. You may also request copies of our SOC 2 Type II Report and ISO 27001 certificate on our [security portal](https://security.sourcegraph.com).
222+
Only essential Sourcegraph personnel will have access to the instance, server, code, and any other sensitive materials, such as tokens or keys. The employees or contractors with access are bound by the same terms as Sourcegraph itself. Learn more in our [security policies for Sourcegraph Cloud](https://about.sourcegraph.com/security) or [contact us](https://sourcegraph.com/contact) with any questions or concerns. You may also request copies of our SOC 2 Type II Report and ISO 27001 certificate on our [security portal](https://security.sourcegraph.com).
223223

224224
### Sourcegraph management access
225225

@@ -229,7 +229,7 @@ All Sourcegraph Cloud instances have Sourcegraph management access enabled by de
229229

230230
## Accommodating special requirements
231231

232-
We may be able to support special requests (network access policies, infrastructure requirements, custom version control systems, etc.) with additional time, support, and fees. [Contact us](https://about.sourcegraph.com/contact/sales) to discuss any special requirements you may have.
232+
We may be able to support special requests (network access policies, infrastructure requirements, custom version control systems, etc.) with additional time, support, and fees. [Contact us](https://sourcegraph.com/contact) to discuss any special requirements you may have.
233233

234234
## FAQ
235235

‎docs/code-insights/explanations/current-limitations-of-code-insights.mdx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ In this case, you may want to try:
5858

5959
## General scale limitations
6060

61-
Code Insights is disabled by default on single-docker deployment methods.
62-
6361
There are a few factors to consider with respect to scale and expected performance.
6462

6563
1. General permissiveness - instances that are more open (users can see most repos) will perform better than instances that are more restricted. Insights have been tested with users having up to 100k restricted repositories.

‎docs/self-hosted/deploy/docker-compose/migrate.mdx‎

Lines changed: 0 additions & 227 deletions
This file was deleted.

‎docs/self-hosted/deploy/migrate-backup.mdx‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
In some circumstances it may be necessary or advantageous to migrate from one Sourcegraph instance or deployment to another. This page describes how to execute such a migration.
44

5-
## Specific guides
6-
7-
- [Migrate from the single Docker image to Docker Compose](/self-hosted/deploy/docker-compose/migrate)
8-
95
## Data stores
106

117
While much of Sourcegraph's data can be regenerated, some state can be stored in multiple locations.
@@ -77,12 +73,12 @@ The easiest option is to simply back up or migrate [configuration JSON data](#co
7773

7874
This option provides a more complete backup, and ensures that almost all state will be restored. Repositories will have to be re-cloned and re-indexed, so some downtime will be required while these operations complete.
7975

80-
Follow the instructions in our [Docker to Docker Compose migration guide](/self-hosted/deploy/docker-compose/migrate#backup-single-docker-image-database) to generate a dump of Sourcegraph's Postgres database. [Contact us](https://about.sourcegraph.com/contact/sales) for specific recommendations for your deployment type.
76+
Follow the backup and restore instructions for [Docker Compose](/self-hosted/deploy/docker-compose/operations#backup-and-restore) or [Kubernetes](/self-hosted/deploy/kubernetes/operations#backup-and-restore) to generate a dump of Sourcegraph's Postgres databases. [Contact us](https://sourcegraph.com/contact) for specific recommendations for your deployment type.
8177

8278
### Option 3: All data
8379

8480
Backing up all persistent volumes is the most complete option. Instructions for doing this depends on the deployment
85-
method and the cloud host. [Contact us](https://about.sourcegraph.com/contact/sales) to discuss more.
81+
method and the cloud host. [Contact us](https://sourcegraph.com/contact) to discuss more.
8682

8783
## Persistent data backup in Kubernetes
8884

0 commit comments

Comments
 (0)