I'm playing with Traefik - this doesn't seem to actually affecting performance - seeing how I can remove this warning:
time="2020-10-31T17:31:07Z" level=warning msg="Could not find network named 'diskless_windscribe' for container '/container1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=container1-diskless-f629e6a7bd6edc951b0deb797abc034c11b6649fcbd2eae17f67615c0022d9be serviceName=container1
root@diskless:/volume1/docker# docker network ls
NETWORK ID NAME DRIVER SCOPE
510746f6df38 bridge bridge local
691fa2975ee7 diskless_traefik bridge local
1b1163415cc8 diskless_windscribe bridge local
1f83031ea199 host host local
b0f1a9600235 none null local
root@diskless:/volume1/docker#
My [clipped] configuration, using docker-compose:
version: '3.7'
services:
traefik:
image: traefik
networks:
- windscribe
- traefik
container1:
image:
container_name: container1
depends_on:
- windscribe
restart: unless-stopped
network_mode: "service:windscribe"
labels:
- traefik.enable=true
- traefik.docker.network=diskless_windscribe
- traefik.http.routers.qbittorrent.entrypoints=web
- traefik.http.routers.qbittorrent.rule=Host(`container1.diskless.lan`)
- traefik.http.services.qbittorrent.loadbalancer.server.port=9180
- traefik.http.services.qbittorrent.loadbalancer.server.scheme=http
networks:
windscribe:
external: false
traefik:
external: false
I have tried windscribe
, diskless_windscribe
, and just not defining it. Within my toml, I have the network defined as diskess_traefik
:
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
exposedByDefault = false
network = "diskless_traefik"
What am I missing? What page of the docs is this described on?