fix: add DB prefill for default user, preset, humans, and persona for server (#1273)

This commit is contained in:
Sarah Wooders
2024-04-19 10:30:28 -07:00
committed by GitHub
parent f3b5f5e7db
commit d8ffd6c4d6
7 changed files with 78 additions and 8 deletions

View File

@@ -26,12 +26,13 @@ services:
env_file:
- .env
environment:
- MEMGPT_PGURI=postgresql://${MEMGPT_PG_USER}:${MEMGPT_PG_PASSWORD}@pgvector_db:5432/${MEMGPT_PG_DB}
- POSTGRES_URI=postgresql://${MEMGPT_PG_USER}:${MEMGPT_PG_PASSWORD}@pgvector_db:5432/${MEMGPT_PG_DB} # TODO: deprecate
- MEMGPT_SERVER_PASS=${MEMGPT_SERVER_PASS} # memgpt server password
- MEMGPT_PG_DB=${MEMGPT_PG_DB}
- MEMGPT_PG_USER=${MEMGPT_PG_USER}
- MEMGPT_PG_PASSWORD=${MEMGPT_PG_PASSWORD}
- MEMGPT_PG_URL=pgvector_db
- MEMGPT_PG_HOST=pgvector_db
- MEMGPT_PG_PORT=5432
volumes:
- ./configs/server_config.yaml:/root/.memgpt/config # config file
- ~/.memgpt/credentials:/root/.memgpt/credentials # credentials file