Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.49 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.49 KB

Data-NL

Setup

1. Install and sync uv

uv sync

2. Create a copy of .env.sample and fill in the gaps

cp .env.sample .env.local

After copying the .env.sample to .env.local, you'll need to fill in the necessary environment variables. Below is a table explaining each variable:

Variable Name Description
API_TITLE The title of your API project.
OPENAI_API_KEY Your OpenAI API key for accessing OpenAI services.
DB_INIT_FILE The database initialization file to use (*.tar or *.sql). If not set, all files in data/ will be mounted.
POSTGRES_USER The username for the PostgreSQL database.
POSTGRES_PASSWORD The password for the PostgreSQL database.
DB_HOST The hostname for the PostgreSQL database.
DB_PORT The port on which PostgreSQL listens inside the Docker container.
POSTGRES_DB The name of the PostgreSQL database.

3. Run the command below and navigate to http://localhost

docker compose --env-file .env.local up -d --build