# This is the internal Docker service name — leave as-is if using the
# built-in NocoDB from the stack. Change to your external NocoDB IP
# if you want to point at your existing instance instead.
NOCODB_URL=http://nocodb:8080

# Your NocoDB API token — get this from:
# NocoDB → Profile (bottom left) → Team & Settings → API Tokens
NOCODB_TOKEN=eWU_ilelaCtNy1JzC7vf41DokkqFOovcLHM0zVml

# These three come from the NocoDB browser URL after you import your data.
# The URL looks like: http://host:8090/{org}/{BASE_ID}/{TABLE_ID}/{VIEW_ID}/...
NOCODB_BASE_ID=pdq96x915xt4a0m
NOCODB_TABLE_ID=mkewnr53ahqvnt9
NOCODB_VIEW_ID=vwl7qvxo1xclvawz

# Make up a strong password — you'll never type this manually,
# it's only used between the NocoDB and Postgres containers internally.
POSTGRES_PASSWORD=SomeLongStrongPassword123!

# Any long random string — used to sign NocoDB login tokens.
# Generate one with: openssl rand -hex 32
NC_JWT_SECRET=a1b2c3d4e5f6...

The order of operations for first setup:

Create .env with the passwords and secrets filled in — but leave the NocoDB IDs as placeholder values for now
Run docker-compose up -d to start the stack
Open NocoDB at http://host-ip:8090, create your account, import your CSV, recreate your views
Copy the real base/table/view IDs from the browser URL into .env
Run docker-compose restart rv50x-manager to pick up the new IDs
App is ready at http://host-ip:YOUR_PORT