sourcegraph/dev/redis-postgres.yml
Camden Cheek 1ead945267
Docs: update links to point to new site (#60381)
We have a number of docs links in the product that point to the old doc site. 

Method:
- Search the repo for `docs.sourcegraph.com`
- Exclude the `doc/` dir, all test fixtures, and `CHANGELOG.md`
- For each, replace `docs.sourcegraph.com` with `sourcegraph.com/docs`
- Navigate to the resulting URL ensuring it's not a dead link, updating the URL if necessary

Many of the URLs updated are just comments, but since I'm doing a manual audit of each URL anyways, I felt it was worth it to update these while I was at it.
2024-02-13 00:23:47 +00:00

31 lines
1.1 KiB
YAML

# This files provides an easy way to start Redis and PostgreSQL servers for
# development, via docker-compose.
#
# See https://sourcegraph.com/docs/dev/setup/quickstart#run-databases
#
# You can also use `sg run redis-postgres`.
services:
redis:
image: index.docker.io/sourcegraph/redis-cache:insiders
ports:
- 6379:6379
volumes:
- ./redis.conf:/etc/redis/redis.conf
- ${REDIS_DATA_DIR:-redis_data}:/data
postgresql:
image: index.docker.io/sourcegraph/postgres-12-alpine:insiders
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-sourcegraph}
- POSTGRES_USER=${POSTGRES_USER:-sourcegraph}
- POSTGRES_DB=${PGDATABASE:-sourcegraph}
- "POSTGRES_INITDB_ARGS= --encoding=UTF8 "
volumes:
# Match PGDATA in Dockerfile
# https://sourcegraph.com/search?q=context:%40sourcegraph/all+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+file:%5Edocker-images/postgres.*/Dockerfile+PGDATA
- ${PGDATA_DIR:-postgres_12_data}:/data/pgdata-12
volumes:
redis_data:
postgres_12_data: