Well, guess what. I got it to work right now with 3.3.5.
The labels category seems to have fixed it. I just thought I'd give it a try.
I feel like something is redundant, though.
Thank you so much for your help!
This is the current working config:
docker-compose:
version: "3.3"
services:
traefik:
image: traefik:latest
container_name: traefik
ports:
- "80:80"
- "443:443"
- "8080:8080"
networks:
- network
command:
- "--configfile=/etc/traefik/traefik.yml"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /compose/traefik:/etc/traefik
labels:
- traefik.enable=true
- traefik.http.routers.dashboard.rule=Host(`traefik.local`)
- traefik.http.routers.dashboard.service=api@internal
networks:
network:
driver: bridge
attachable: true
traefik.yml:
# /etc/traefik/traefik.yml
api:
dashboard: true
insecure: true
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
file:
filename: /etc/traefik/config.yml
watch: true
docker:
exposedByDefault: false
certificatesResolvers:
le:
acme:
email: my@email.tld
storage: /etc/traefik/acme.json
tlsChallenge: {}
config.yml
# /etc/traefik/config.yml
http:
services:
omv-service:
loadBalancer:
servers:
- url: "http://192.168.1.5:81"
routers:
omv-router:
entryPoints:
- web
rule: "Host(`omv.local`)"
service: omv-service