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

Can't use login #1278

Open
tripadvisor101 opened this issue Jan 21, 2025 · 0 comments
Open

Can't use login #1278

tripadvisor101 opened this issue Jan 21, 2025 · 0 comments

Comments

@tripadvisor101
Copy link

Hey, I created this docker-compose.yml file:

services:
  redis:
    image: redis:7-alpine
    command: "--requirepass password --io-threads 2"
    networks:
      - "lan"
    restart: unless-stopped

  postgres:
    image: postgres:17-alpine
    environment:
      POSTGRES_USER: postgres
      POSTGRES_DB: postgres
      POSTGRES_PASSWORD: password
    volumes:
      - ./data/postgres:/var/lib/postgresql/data
    restart: unless-stopped

  dmrhub:
    image: ghcr.io/usa-reddragon/dmrhub:v1.0
    environment:
      REDIS_HOST: redis:6379
      PG_HOST: postgres
      SECRET: changeme
      PASSWORD_SALT: alsochangeme
      CORS_HOSTS: http://localhost:3005,http://127.0.0.1:3005
      INIT_ADMIN_USER_PASSWORD: changeme
      DEBUG: 1
    ports:
      - "3005:3005"
      - "62031:62031/udp"
    depends_on:
      - "redis"
      - "postgres"
    restart: unless-stopped

But when I try to login as admin, I get Error logging in. Non of the credentials work, I even tried option to generate password on the first start, but it does not work either. In the docker logs I see this error:
[internal/http/api/controllers/v1/[email protected]:88]: POSTLogin: the encoded hash is not in the correct format

What could be the problem here?

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