Commit Graph
98 Commits
Author SHA1 Message Date
Beatrix 2e4afd8ef7 Enable Jaeger Tracing (#489) 2021-08-04 00:43:58 -07:00
DaedalusG 42310a0400 Merge branch 'master' into Update-Caddy-Image 2021-08-02 16:40:47 -07:00
Dave Try 3d9f1c0341 Revert "Use postgres alpine images everywhere (#457)"
This reverts commit c056b85a7d.
2021-07-28 11:11:55 -05:00
Dax McDonald b48392bcfb Add 'stop_grace_period to database services (#477)
This gives Postgres more time to gracefully shutdown
2021-07-28 11:22:45 +08:00
renovate[bot]andRenovate Bot 9760b5b5d0 Update Sourcegraph Docker images (#463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 08:51:39 +08:00
Warren Gifford 2d72dde62b Update Caddy Image in docker-compose.yaml
Updates Caddy image to caddy 2.0.0-alpine sha256:83d9aa7a5f1bbcc0fc1b4720c183a5ec53dae7dc5d9fa555daf3db345010e7f9
2021-07-23 14:29:40 -07:00
Dax McDonald c056b85a7d Use postgres alpine images everywhere (#457)
Prefer alpine image everywhere
2021-07-22 14:00:28 +08:00
renovate[bot]andRenovate Bot 5f0a7be516 Update Sourcegraph Docker images (#394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 14:49:13 -07:00
Dax McDonald b40e3a5750 Upgrade Jaeger (#453) 2021-07-08 12:56:02 -07:00
Eric Fritz 2c0a88149b Introduce worker service (#440) 2021-06-07 21:20:05 -05:00
Geoffrey Gilmore dbd98e8b05 bump memory limits for redis-[cache,store] to 7 GB (#373) 2021-05-18 16:03:09 -07:00
Andre EleuterioandSourcegraph a0f54fc382 Update sourcegraph/postgres-12.6 images (#390)
Co-authored-by: Sourcegraph <batch-changes@sourcegraph.com>
2021-05-07 11:47:30 -03:00
Dax McDonald dd5654840b Configure healthcheck for sourcegraph-internal (#358)
Our docker-compose deployments were failing due to the sourcegraph-internal pod restarting. This prevents sourcegraph-internal-0 from starting until the pgsql & codeintel-db's are up
2021-04-23 17:12:06 -07:00
Eric Fritz 9113e14107 Use Postgres 12 (#320) 2021-03-30 15:31:54 -05:00
davejrt 1e98e3bbf5 increase retries for frontend (#277)
* increase retries for frontend

* bump retries in all frontend containers
2021-03-02 11:47:09 -05:00
davejrt d7db46d372 use healthcheck to fix db lock (#274)
* use healthcheck to fix db lock
2021-03-01 17:25:39 -05:00
Ryan Slade 511517b85d Set hostname for gitserver (#271) 2021-03-01 16:14:41 +02:00
Stephen Gutekanst 299827ec9d insights: set PGDATA=/var/lib/postgresql/data/pgdata (#269)
I previously thought `PGDATA=/var/lib/postgresql/data/pgdata` was the default,
but it is definitely not: `/var/lib/postgresql/data` is.

I removed this from `deploy-codeinsights-db.sh` for consistency with the Docker
Compose deployment, but this would have broken existing pure-docker deployments
because they were storing data in the `pgdata` subdirectory previously.

I have added this to Docker Compose deployments here, for consistency, although
it is not strictly required (Docker Compose volumes, unlike Kubernetes ones, do
not appear ot have a `lost+found` file in them and as such Postgres is happy to
use the root of the volume - whereas in Kubernetes deployments it will complain
the directory is not empty and fail to start.)

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2021-02-26 16:18:47 -07:00
Stephen Gutekanst 18e82d7bba codeinsights-db: correct data volume path (#268)
Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2021-02-26 14:26:16 -07:00
Stephen Gutekanst 32dbb25d80 add codeinsights-db deployment (#259)
* pure-docker: add codeinsights-db

* test: add codeinsights-db permissions

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* prometheus: add codeinsights-db (optional)

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* docker-compose: add codeinsights-db

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* test: update expected # of containers

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2021-02-19 16:14:01 -07:00
Robert Lin f3a9145a53 cadvisor: add commented support for macos (#213) 2021-01-15 09:35:59 +08:00
renovate[bot]andRenovate Bot 0d5144dfcf Update Sourcegraph Prometheus / Grafana Docker images (#180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-10 18:14:50 +08:00
renovate[bot]andRenovate Bot 74a71abd90 Update Sourcegraph Docker images (#179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-10 18:03:33 +08:00
renovate[bot]andRenovate Bot 43399737d8 Pin Docker digests (#174)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-20 11:27:44 +01:00
Eric Fritz 4f4a9e6aba Remove bundle manager (#173) 2020-11-09 10:31:19 -06:00
Eric Fritz ba1cda568d Add MinIO deployment (#169) 2020-10-26 16:48:47 -05:00
Dave Try 5d65fc16c5 upgrade to 3.21.2 2020-10-23 10:31:16 -05:00
Dave Try 00040058d4 releasing 3.21.1 2020-10-22 15:04:37 -05:00
Dave Try 9195e03992 amending 3.21.0 with code intel vars 2020-10-19 20:43:41 -05:00
Dave Try 4d0289e66f 3.21.0 2020-10-19 15:55:57 -05:00
Eric Fritz 83ac4d0b16 RFC 235: Add code intel postgres container (#153) 2020-10-01 15:59:08 -05:00
uwedeportivo 0b60cc831f upgrade to 3.20.1 (#157) 2020-09-22 07:55:53 -07:00
renovate[bot]andRenovate Bot 94fafb30d3 Update Sourcegraph Prometheus / Grafana Docker images Docker tags to v3.20.0 (#152)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 14:28:00 -07:00
renovate[bot]andRenovate Bot 5f640fff12 Update Sourcegraph Docker images Docker tags to v3.20.0 (#151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 14:27:37 -07:00
uwedeportivo c35eec8c21 upgrade docker image tags to 3.19.2 (#148) 2020-09-01 14:12:19 -07:00
Stephen Gutekanst 5cbef5c387 update image tags to v3.19.1 2020-08-20 19:27:14 -07:00
Stephen Gutekanst d3c1040e98 update image tags to v3.19.1-rc.2 2020-08-20 17:52:38 -07:00
uwedeportivo 7f52937cfb image tags: move to 3.19 (#138) 2020-08-20 09:15:17 -07:00
Stephen Gutekanst f9a5faa364 docker-compose: do not quote env var values (#131)
The double quotes meant this Caddy configuration:

```
reverse_proxy {$SRC_FRONTEND_ADDRESSES}
```

Expanded to:

```
reverse_proxy "sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080"
```

Instead of:

```
reverse_proxy sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080
```

Which led to Sourcegraph being unavailable entirely:

```
2020/08/14 00:03:05.971	INFO	using provided configuration	{"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
run: adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': /etc/caddy/Caddyfile:7 - Error during parsing: parsing upstream address: parse "undefined://sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080": invalid character " " in host name
```

This came from
2020-08-13 18:54:08 -07:00
Gonzalo Peci c2bf177bfb Increase minimum interval and timeout for all services (#130) 2020-08-13 12:21:27 +02:00
Stephen Gutekanst 748667da2d remove "replacer" service (#126)
This PR removes the `replacer` service, which is no longer used in Sourcegraph.
See https://github.com/sourcegraph/sourcegraph/pull/12480

Note:

This PR cannot yet be merged, it is blocked on:

- https://github.com/sourcegraph/sourcegraph/issues/12544 being fixed
- `replacer` being removed again from our app.
2020-08-07 14:01:13 -07:00
Stephen Gutekanst 70d367a5ef docker-compose: fix observability.alerts 2020-07-27 19:18:29 -07:00
Dax McDonald dcf8f00f28 Update all images to 3.18.0 2020-07-17 19:09:11 -07:00
davejrt 7dafb7f3c3 fix key file name in example (#125) 2020-07-16 12:21:13 -05:00
Robert Lin 4d09da7055 add SRC_FRONTEND_INTERNAL to prometheus, remove from grafana (#122) 2020-07-08 13:19:24 +08:00
Stephen Gutekanst 4bd500c00a update Docker image tags to 3.17.2 2020-06-26 13:09:03 -07:00
Robert Lin 42c017a269 cadvisor: apply args to reduce output (#118) 2020-06-16 10:25:49 +08:00
Robert Lin 545a9181b7 declare SRC_FRONTEND_INTERNAL for docker-compose, docker (#119) 2020-06-16 07:53:46 +08:00
Dax McDonald 150339e8df Add env var for JAEGER_SERVER_URL (#116)
This allows for reverse proxying of the Jaeger dashboard in docker deployments
2020-06-03 09:15:56 -07:00
Robert Lin 5dc1683eee set DEPLOY_TYPE for pure-docker, docker-compose (#115) 2020-06-02 18:16:07 -07:00