I am setting up the starter kit for self-hosting n8n on my Mac Mini (M4). When I try to run it with Docker, I get repeated warnings about missing environment variables. I’m not sure what values I need to set or where to put them, since I don’t see a .env**
What is the error message (if any)?**
WARN[0000] The "POSTGRES_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "POSTGRES_PASSWORD" variable is not set. Defaulting to a blank string.
WARN[0000] The "POSTGRES_DB" variable is not set. Defaulting to a blank string.
Please share your workflow
N/A — I wasn’t able to create a workflow yet since I can’t get the starter kit running.
Share the output returned by the last node
N/A
Information on your n8n setup
n8n version: Starter kit (fresh clone from GitHub)
Database (default: SQLite): Not sure — the starter kit seems to use Postgres
You can follow the instructions from given link and manage your env configurations inside the compose file.
It way simpler for organizing and maintaining your configurations instead of using Docker itself.
Hey @John_Cedrick! Hope you are doing great! Just to mention that if a comment provided above solved your problem please mark it as solution in order to help others in case face the same issue!