Score:0

docker-compose - HTTP_USER & HTTP_PASSWORD not working

by flag

I added to my docker-compose in environment:

HTTP_USER: admin
HTTP_PASSWORD: pass

When I opened localhost, I see authentication, but bellow login and password not working.

What is wrong, what I should add?

I using nginx-reverse proxy as http server.

My complete docker-compose.yml

services:
  ubuntuvnc-withpass:
    container_name: sub.domain.com
    image: dorowu/ubuntu-desktop-lxde-vnc
    expose:
      - "5900"
    environment:
      VIRTUAL_HOST: sub.domain.com
      LETSENCRYPT_HOST:  sub.domain.com
      VNC_PASSWORD:  pass
      RESOLUTION: 800x600
      HTTP_USER: admin
      HTTP_PASSWORD: pass
    networks:
     - proxy
 
networks:
  proxy:
    external:
      name: nginx_default
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.