Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plain installation - Error P1000 #455

Open
Lorkris opened this issue Feb 24, 2025 · 0 comments
Open

Plain installation - Error P1000 #455

Lorkris opened this issue Feb 24, 2025 · 0 comments

Comments

@Lorkris
Copy link

Lorkris commented Feb 24, 2025

Hi everyone, i've got installed peppermint with Docker (Debian 12 Bookworm) with this manual: https://docs.peppermint.sh/docker

When i start the docker, i get the following errors in the postgres_sql docker:

Error: P1000: Authentication failed against database server at `peppermint_postgres`, the provided database credentials for `peppermint` are not valid.
Please make sure to provide valid database credentials for the database server at `peppermint_postgres`.
Environment variables loaded from .env
Prisma schema loaded from src/prisma/schema.prisma
Datasource "db": PostgreSQL database "peppermint", schema "public" at "peppermint_postgres"
2025-02-24T15:21:28: PM2 log: App [api:1] exited with code [1] via signal [SIGINT]

In the peppermint docker, i get this errors:

2025-02-24 15:25:05.333 UTC [96] FATAL:  password authentication failed for user "peppermint"
2025-02-24 15:25:05.333 UTC [96] DETAIL:  Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"

There is nothing else on this system, the docker-compose.yml looks is this (passwords are for testing, no production system!)

version: "3.1"
 
services:
  peppermint_postgres:
    container_name: peppermint_postgres
    image: postgres:latest
    restart: always
    volumes:
      - pgdata:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: peppermint
      POSTGRES_PASSWORD: 1234
      POSTGRES_DB: peppermint
 
  peppermint:
    container_name: peppermint
    image: pepperlabs/peppermint:latest
    ports:
      - 3000:3000
      - 5003:5003
    restart: always
    depends_on:
      - peppermint_postgres
    environment:
      DB_USERNAME: "peppermint"
      DB_PASSWORD: "1234"
      DB_HOST: "peppermint_postgres"
      SECRET: 'peppermint4life'
 
volumes:
 pgdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant