Connects the container to a PostgreSQL database named n8n on host postgres, how production deployments separate the database from the app container. The database, user, and password must already exist in Postgres. Keep the volume mounted anyway for encryption keys and logs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.