Geoffrey Gilmore
dbd98e8b05
bump memory limits for redis-[cache,store] to 7 GB ( #373 )
2021-05-18 16:03:09 -07:00
Andre Eleuterio and Sourcegraph
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] and Renovate 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] and Renovate 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] and Renovate 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] and Renovate 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] and Renovate 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
Stephen Gutekanst
3f382768ba
update Docker image tags to 3.16.0
2020-05-22 17:19:12 -07:00
Robert Lin
fca56e82bc
pin cadvisor to sourcegraph mirror ( #111 )
2020-05-22 15:33:24 -07:00
Eric Fritz
943a108131
Remove precise-code-intel-api-server ( #110 )
2020-05-21 16:06:56 -05:00
Eric Fritz
8ce23c9e47
Add PRECISE_CODE_INTEL_BUNDLE_MANAGER_URL to frontend deployment ( #109 )
2020-05-21 12:03:16 -05:00
Robert Lin
79c5a218c3
add prometheus server URL ( #108 )
2020-05-18 17:03:15 -07:00
Eric Fritz
329e38ed5b
Update precise-code-intel service definitions ( #104 )
2020-05-11 15:13:51 -05:00
Stephen Gutekanst
5a15f0fd7d
prometheus: undo sideloaded configuration (not working correctly and not important)
2020-04-30 09:21:35 -07:00
Stephen Gutekanst
2ff345e601
update image tags to v3.15.1
2020-04-30 09:13:24 -07:00
Eric Fritz and Stephen Gutekanst
00cdc916a8
Rename lsif-server to precise-code-intel ( #93 )
...
* Squash commits.
* Update image tags.
* Fix variables after test run.
* Revert unrealted change during testing.
* Fix bad revert.
* Update docker-compose.yaml
* Update deploy-precise-code-intel-worker.sh
* Update docker-compose.yaml
* Update deploy-precise-code-intel-worker.sh
* Quote for consistency.
* Fix insiders tags.
* Remove LSIF_STORAGE envvar.
* Back out some prometheus changes.
Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com >
2020-04-30 08:49:18 -07:00
renovate[bot] and Renovate Bot
5329569545
Update Sourcegraph Prometheus / Grafana Docker images ( #100 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-04-17 20:18:33 -07:00