diff options
| author | Bobby <[email protected]> | 2026-01-20 13:35:01 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-01-20 13:35:01 +0530 |
| commit | 61d5f45189a40621bceeb14c6646031dd15ab6c2 (patch) | |
| tree | 602c98f87d776a9088723ee3d5a27e61053cbc08 /toolchain/docker-compose.dev.yml | |
| parent | c8d0bbb5b54f5cec3ebb245f9a21d8a94b3bd944 (diff) | |
| download | cafe-61d5f45189a40621bceeb14c6646031dd15ab6c2.tar.xz cafe-61d5f45189a40621bceeb14c6646031dd15ab6c2.zip | |
Implement database configuration and management with PostgreSQL support
Diffstat (limited to 'toolchain/docker-compose.dev.yml')
| -rw-r--r-- | toolchain/docker-compose.dev.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/docker-compose.dev.yml b/toolchain/docker-compose.dev.yml new file mode 100644 index 0000000..caba96a --- /dev/null +++ b/toolchain/docker-compose.dev.yml @@ -0,0 +1,20 @@ +services: + postgres: + image: postgres:18-alpine + container_name: cafe-postgres-dev + ports: + - "5432:5432" + environment: + POSTGRES_DB: cafe_dev + POSTGRES_USER: cafe_dev + POSTGRES_PASSWORD: dev_password + volumes: + - postgres_dev_data:/var/lib/postgresql/data + healthcheck: + test: ["CMD-SHELL", "pg_isready -U cafe_dev"] + interval: 5s + timeout: 3s + retries: 5 + +volumes: + postgres_dev_data:
\ No newline at end of file |
