Traefik2 with tcp, port & ssl on docker app

Hi,

I'm going crazy!

I'm trying to get an app running in Docker to an SSL url. So https://mydomain:8529

On http and port 8529 it works, even if I start it without port it runs with SSL, as soon as I want to do it with the port it doesn't work.

My dockercompose

version: '3'
networks:
  traefik-proxy:
    external: true
  backend:
    driver: bridge

volumes:
  arangodbdev:

services:
  arangodb:
    image: arangodb:latest
    container_name: arangodb
    hostname: arangodb
    volumes:
      - /srv/arangodb:/data
      - /srv/arangodb/arangodb3:/var/lib/arangodb3
      - /srv/arangodb/arangodb3-apps:/var/lib/arangodb3-apps
    ports:
     # - 127.0.0.1:8529:8529
      - 8529:8529
    expose:
       - 8529
    environment:
       - STAY=none
    command: arangod --server.endpoint tcp://0.0.0.0:8529
    cap_add:
      - SYS_NICE
    networks:
      - traefik-proxy
      - backend
    labels:
      - traefik.enable=true
      - traefik.docker.network=traefik-proxy
      - traefik.tcp.routers.arangodb.entrypoints=arango
      - traefik.tcp.routers.arangodb.rule=HostSNI(`xxx.xxx.net`)
      - traefik.tcp.routers.arangodb.tls=true
      - traefik.tcp.routers.arangodb.tls.certresolver=letsencrypt
      - traefik.tcp.services.arangodb.loadbalancer.server.port=8529
      #- traefik.tcp.routers.arangodb.tls.passthrough=true
    restart: always

Wo ist mein fehler?

This config is just your service. It is binding 8529 not traefik.

If you want traefik to handle this port then the ports section of traefik's compose would use this port and remove it from the service(or use another port for bypassing traefik).

Okay what can I do now that I get with traefik my service on https://mydomain.net:8529?