Hey @moutoum,
Thanks again for your reply. I am pretty stuck and I have not been able to find help anywhere else currently.
I believe I am seeing the labels show... I do have to reiterate that I am pretty novice at these solutions, but not technically novice in general. Thanks in advanced for the patience. Here is what I see under inspecting my service.
First, I see two areas and four places labels show. There appears to be a current and previous section. To my novice eye, my current config seems to be showing the traefik labels on the container level and I would like to see it at the service level for this to work. not sure why as my config should be showing it at the service level since it is under Deploy.
Under Spec:
docker service inspect traefiktest_traefik
[
{
"ID": "c25zjaz2n2o4zajr0sgted3hz",
"Version": {
"Index": 107189
},
"CreatedAt": "2022-05-26T01:31:36.549905939Z",
"UpdatedAt": "2022-05-26T01:37:34.048784548Z",
"Spec": {
"Name": "traefiktest_traefik",
"Labels": {
"com.docker.stack.image": "traefik:v2.6",
"com.docker.stack.namespace": "traefiktest"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "traefik:v2.6@sha256:adf62c4c01290c29816f00b36a309df577771701e2feb2c9214fd3b6bd1e2894",
"Labels": {
"com.docker.stack.namespace": "traefiktest",
"traefik.enable": "true",
"traefik.http.middlewares.traefik-auth.basicauth.users": "haha:$apr1$u7seZOXk$KQjSHoweTSoy72cF3DYQX.",
"traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme": "https",
"traefik.http.routers.traefik-secure.entrypoints": "https",
"traefik.http.routers.traefik-secure.middlewares": "traefik-auth",
"traefik.http.routers.traefik-secure.rule": "Host(`traefik.dev.domainname.com`)",
"traefik.http.routers.traefik-secure.service": "api@internal",
"traefik.http.routers.traefik-secure.tls": "true",
"traefik.http.routers.traefik-secure.tls.certresolver": "http",
"traefik.http.routers.traefik.entrypoints": "http",
"traefik.http.routers.traefik.middlewares": "traefik-https-redirect",
"traefik.http.routers.traefik.rule": "Host(`traefik.dev.domainname.com`)",
"traefik.http.services.traefik.loadbalancer.server.port": "8080"
},
Under Previous:
"PreviousSpec": {
"Name": "traefiktest_traefik",
"Labels": {
"com.docker.stack.image": "traefik:v2.6",
"com.docker.stack.namespace": "traefiktest"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "traefik:v2.6@sha256:adf62c4c01290c29816f00b36a309df577771701e2feb2c9214fd3b6bd1e2894",
"Labels": {
"com.docker.stack.namespace": "traefiktest",
"traefik.enable": "true",
"traefik.http.middlewares.traefik-auth.basicauth.users": "haha:$apr1$u7seZOXk$KQjSHoweTSoy72cF3DYQX.",
"traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme": "https",
"traefik.http.routers.traefik-secure.entrypoints": "https",
"traefik.http.routers.traefik-secure.middlewares": "traefik-auth",
"traefik.http.routers.traefik-secure.rule": "Host(`traefik.dev.domainname.com`)",
"traefik.http.routers.traefik-secure.service": "api@internal",
"traefik.http.routers.traefik-secure.tls": "true",
"traefik.http.routers.traefik-secure.tls.certresolver": "http",
"traefik.http.routers.traefik.entrypoints": "http",
"traefik.http.routers.traefik.middlewares": "traefik-https-redirect",
"traefik.http.routers.traefik.rule": "Host(`traefik.dev.domainname.com`)"
},
Also interesting to me and seen under the inspect data is my network. I should be using my preconfigured and documented proxy network, and the ID seems to match the prefix of that network but they called it something different in the output of the inspect and that something is not in my network listings.
From the inspect:
"Networks": [
{
"Target": "u97djvrb64j8c8tg2j30y5rhs",
"Aliases": [
"traefik"
]
}
],
From the console listing the networks:
docker network ls
NETWORK ID NAME DRIVER SCOPE
79ad8a03dd65 bridge bridge local
68b38509d014 docker_gwbridge bridge local
8774ff7a4c37 host host local
ty1ndltj3h8g ingress overlay swarm
2cfcc8b007a6 none null local
u97djvrb64j8 proxy overlay swarm
I cannot say I am any closer to figuring this out but I appreciate the assistance.