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

Lighthttpd logs #616

Open
nicolas-brousse opened this issue Mar 14, 2023 · 4 comments · May be fixed by #617
Open

Lighthttpd logs #616

nicolas-brousse opened this issue Mar 14, 2023 · 4 comments · May be fixed by #617

Comments

@nicolas-brousse
Copy link

nicolas-brousse commented Mar 14, 2023

Is your feature request related to a problem? Please describe.
I'm currently trying to configure a docker swarm stack with Homer Dashboard behind a traefik proxy, but homer respond to me with 400 Bad Request.
Lighthttpd doesn't show log so it's not easy to me to know what is the exact issue.

Describe the solution you'd like
Update lighthttpd to log access and may be errors (if possible).

Describe alternatives you've considered

Additional context

Here the stack description I've tried to use

# homer.stack.yml

version: "3"
services:
  homer:
    image: b4bz/homer:v23.02.2
    volumes:
      - /mnt/glusterfs/homer_dashboard/assets:/www/assets
    user: 1000:1000 # default
    environment:
      - INIT_ASSETS=1 # default
    networks:
      - public
    deploy:
      mode: replicated
      replicas: 1
      labels:
        - "traefik.enable=true"
        - "traefik.http.routers.homer_dashboard.rule=Host(`homer_dashboard.swarm.home`)"
        - "traefik.http.routers.homer_dashboard.entrypoints=http"
        - "traefik.http.services.homer_dashboard.loadbalancer.server.port=8080"
@nicolas-brousse nicolas-brousse linked a pull request Mar 14, 2023 that will close this issue
7 tasks
@raiyni
Copy link

raiyni commented Mar 15, 2023

Would much appreciate this one. I moved homer to a new host and am getting 403 errors accessing the container.

@dunny1g
Copy link

dunny1g commented Jul 26, 2023

Would also like to see this implemented. Just upgraded from a Pi 4 so from the arm image to the amd64 image and Uptime Kuma shows my dashboard's average response as 12s. Every other service I moved runs better, just can't understand why Homer isn't.

@iambricegg
Copy link

Hi!
Is your container connected to Traefik reachable network ?
Declare this network in the label section with the key

labels : 
    - "traefik.network=public"

@nicolas-brousse
Copy link
Author

Hi @iambricegg

I did it in traefik cli option with --providers.docker.network=public.

I've reinstalled it this week and it works now with my config. But I don't really know if I changed something somewhere else or it come from changes in a recent release.

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

Successfully merging a pull request may close this issue.

4 participants