Skip to content

Can't use login #1278

@proxiboi69

Description

@proxiboi69

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/auth.POSTLogin@auth.go:88]: POSTLogin: the encoded hash is not in the correct format

What could be the problem here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions