mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
aa55e55c7a
This PR adds config files for running the Postgres instance for local
Zed development in a Docker Compose instance.
For those of us who don't like to have a Postgres install always present
on the host system 😄
Usage:
```
docker compose up -d
```
Release Notes:
- N/A
17 lines
332 B
YAML
17 lines
332 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
container_name: zed_postgres
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./docker-compose.sql:/docker-entrypoint-initdb.d/init.sql
|
|
|
|
volumes:
|
|
postgres_data:
|