Files
AutoGPT/rnd/docker-compose.yml
Aarushi a911f9a5eb feat(rnd) Add Postgres support (#7513)
* replace SQLite with Postgres

* make sqlite default

* add migrations for sqlite and postgres

* update readme

* fix formatting
2024-07-22 23:43:49 +01:00

17 lines
361 B
YAML

version: "3"
services:
postgres:
image: ankane/pgvector:latest
environment:
POSTGRES_USER: agpt_user
POSTGRES_PASSWORD: pass123
POSTGRES_DB: agpt_local
PGUSER: 5432
healthcheck:
test: pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB
interval: 10s
timeout: 5s
retries: 5
ports:
- "5432:5432"