### What? Previously, the `with-vercel-website` template included a `DATABASE_URI` env var in the `.env.example` file - which was unneeded. ### Why? The `with-vercel-website` template uses a `POSTGRES_URL` env var for the db connection string env var instead. ### How? Removes the `DATABASE_URI` env var from the .env.example file. Also, updates the `DATABASE_URI` db string names in the following templates from `payloadtests` to `your-database-name` for a more generic / clear name: - with-postgres - with-vercel-mongodb - with-vercel-postgres - with-vercel-website
14 lines
278 B
YAML
14 lines
278 B
YAML
version: '3'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres
|
|
ports:
|
|
- '54320:5432'
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: your-database-name # THIS MUST MATCH YOUR DB NAME IN .env
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
env_file:
|
|
- .env
|