Skip to content

Is it possible to run the Docker-based LHCI Server (patrickhulce/lhci-server) with basic auth enabled? #1007

Answered by fullyherge
lal65 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the "LCHI_" env variables. I'm doing it like this, with docker-compose.yml:

version: '3'
services:
  lhserver:
    image: patrickhulce/lhci-server:latest
    environment:
      LHCI_BASIC_AUTH__USERNAME: "..."
      LHCI_BASIC_AUTH__PASSWORD: "..."
    ports:
      - '9001:9001'
    volumes:
      - lhci-data:/data
volumes:
  lhci-data:

You can see more context here for the env vars and this is where I got the compose file

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lal65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants