Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docker-compose and .env.example
Error: Database URL: Environment variables loaded from .env Prisma schema loaded from prisma/postgresql-schema.prisma Datasource "db": PostgreSQL database "evolution", schema "public" at "localhost:5432" Error: P1001: Can't reach database server at localhost:5432 Fix: Update `docker-compose.yaml` and `.env.example` files to configure PostgreSQL service and connection URI. * **docker-compose.yaml** - Add `listen_addresses=*` command to the `postgres` service. - Add environment variables: `POSTGRES_USER=user`, `POSTGRES_PASSWORD=pass`, `POSTGRES_DB=evolution`, `POSTGRES_HOST_AUTH_METHOD=trust`. * **.env.example** - Update `DATABASE_CONNECTION_URI` to `postgresql://user:pass@postgres:5432/evolution?schema=public`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/EvolutionAPI/evolution-api?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information