I run a docker-compose with the follow attrbutes:
version: '3'
networks:
traefik-proxy:
external: true
volumes:
arangodbdev:
services:
arangodb:
image: arangodb:latest
volumes:
- /srv/arangodb:/data
ports:
- 8529:8529
environment:
- ARANGO_ROOT_PASSWORD=xxxxx-xxx
command:
- arangod
- --server.endpoint=tcp://0.0.0.0:8529
networks:
- traefik-proxy
- default
labels:
- traefik.enable=true
- traefik.tcp.routers.arangodb.entrypoints=arangodb
- traefik.tcp.routers.arangodb.rule=HostSNI(`xx.dev.xxx.net`)
- traefik.tcp.routers.arangodb.tls=true
- traefik.tcp.routers.arangodb.tls.certresolver=letsencrypt
- traefik.tcp.routers.arangodb.tls.passthrough=true
- traefik.tco.routers.arangodb.service=arangodb@docker
- traefik.tcp.services.arangodb.loadbalancer.server.port=8529
- traefik.docker.network=traefik-proxy
restart: always
The dashboart of traefik shows
the url xxxxx.xx:8529 is http not https?
errorlog.:
time="2020-03-22T08:43:19Z" level=error msg="unable to find the IP address for the container "/arangodb_arangodb_1": the server is ignored" providerName=docker container=arangodb-arangodb-125043e030951328318d1b0d9ad394524d7b26a902cb952d0423137587bb042e