Giter VIP home page Giter VIP logo

traefik-home's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

traefik-home's Issues

Automatic update check

On release 1.0.0 it's possible to manually check if a new update is available.
This check could be done automatically, life is too short to waste time.

Add port 80 and 443 with web and websecure

Im not at home right now but, should be pretty easy to add. i will also look if it's possible to check into the traefiks rules added manually . this would be perfect for my use case.

                {{ $entrypoint_label := print "traefik.http.routers." $service_name ".entrypoints" }}
                {{ $entrypoint := index $container.Labels $entrypoint_label }}
                {{ $protocol := "" }}
                {{ if eq $entrypoint "websecure" }}
                    {{ $protocol = "https" }}
                {{ else if eq $entrypoint "443" }}
                    {{ $protocol = "http" }}
                {{ else if eq $entrypoint "web" }}
                    {{ $protocol = "http" }}
                {{ else if eq $entrypoint "web" }}
                    {{ $protocol = "80" }}
                {{ else }}
                    {{/* entrypoint not supported */}}
                    {{continue}}
                {{ end }}

Order of services/links

First of all, I love this !
Status light is especially very nice and helpful.

However I got a question/suggestion, Is there any way on how to order them ?
They are sorted by container creation date, which isn't optimal.
I'd love to have possibility for alphabet ordering or custom ordering as well.

Incompatible with defaultRule

Just noticed this doesn't work when using --providers.docker.defaultRule=Host.. instead of label traefik.http.routers.xxxx.rule=Host... for each service.

Serving Static Icons

๐Ÿ‘‹

This is a great little project, I was looking for something to give myself a quick dev dashboard and this does the job nicely!

This might be something to add to the README if it's useful for anybody else, but I wanted to serve some static icons for some local projects.

This can be achieved by mounting them into the container if you already have them on the host filesystem in another checked out repo, for example.

    traefik-home:
        image: ghcr.io/santimar/traefik-home:v1.4.0
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock:ro
            - "/path/to/your/logo.svg:/usr/share/nginx/html/icons/my-mounted-logo.svg:ro"
        labels:
            - "traefik.enable=true"
            - "traefik.http.routers.traefik-home.tls=true"
            - "traefik.http.routers.traefik-home.rule=Host(`dashboard.localhost`)"

You can then reference this in your other container labels like so:

      - "traefik-home.icon=https://dashboard.localhost/icons/my-mounted-logo.svg"

Hope this might come in handy for somebody else.

Thanks again for the effort that has gone into this project! ๐Ÿ‘

Minor issue with mobile view

When opening the page from mobile the footer is displayed before the end of the page, among the icons.
App version: 1.2.0
Installation: docker
Device: Poco x3 NFC
Resolution: 2400x1080
Browser: Chrome
IMG_20220601_143742

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.