Jump to content

Display Network-Name instead ofp Network-ID in GUI?


Recommended Posts

Hi all,

I'm new to Unraid, but it' s a great product.

My question is regarding docker. I have created a custom network with docker network create traefik_proxy

I've installed my traefik as a yml (see below).

Sadly in the GUI, the network ID is displayed, but not the network name. Can I fix this?

image.thumb.png.02c6ede64d1cc60dd7bc45930afb6452.png

 

this is my stack:

 

---
version: '3.7'

services:
  traefik:
    image: traefik:v2.11.0
    container_name: traefik
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/run/docker.sock:/var/run/docker.sock
      - ./config:/etc/traefik
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.traefik.rule=Host(`traefik.xxxxxxxxx.xx`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
      - "traefik.http.routers.traefik.entrypoints=websecure"
      - "traefik.http.routers.traefik.tls.certresolver=default"
      - "traefik.http.routers.traefik.service=api@internal"
      - "traefik.http.routers.traefik.middlewares=auth@docker"
      - "traefik.http.middlewares.auth.basicauth.users=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    networks:
      - traefik_proxy
#      - default
    ports:
      - "80:80"
      - "443:443"
    restart: always

networks:
  traefik_proxy:
    name: traefik_proxy
    external: true

 

image.png

Edited by tescher
Link to comment
  • 2 weeks later...

If you only need to run one docker service (not a complex compose stack), you can do so by creating the container through Unraid UI (Add Container) or using the docker CLI. It worked for me; The network name is displayed correctly.
I wasn't able to achieve the same result through compose.

Edited by alozzi
Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...