# After Traefik docker-compose install, dashboard invisible

**URL:** <https://community.traefik.io/t/after-traefik-docker-compose-install-dashboard-invisible/5709>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [April 25, 2020, 11:20am UTC](https://community.traefik.io/t/after-traefik-docker-compose-install-dashboard-invisible/5709 "2020-04-25T11:20:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [April 25, 2020, 12:19pm UTC](https://community.traefik.io/t/after-traefik-docker-compose-install-dashboard-invisible/5709/2 "2020-04-25T12:19:31Z")

</div>

Hello,

A full working example:

```auto
version: '3.7'

services:
  traefik:
    image: traefik:v2.2.0
    container_name: traefik
    command:
      - --api
      # EntryPoints
      - --entryPoints.web.address=:80
      - --entrypoints.web.http.redirections.entrypoint.to=websecure
      - --entrypoints.web.http.redirections.entrypoint.scheme=https
      - --entryPoints.websecure.address=:443
      # Providers
      - --providers.docker.exposedByDefault=false
      # Let's Encrypt
      - --certificatesResolvers.resolver.acme.email=administrator@mydomain.ovh
      - --certificatesResolvers.resolver.acme.storage=acme.json
      - --certificatesResolvers.resolver.acme.httpChallenge.entryPoint=web
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    ports:
      - 80:80
      - 443:443
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./data/acme.json:/acme.json
    labels:
      traefik.enable: true

      traefik.http.routers.traefik.rule: Host(`traefik.mydomain.ovh`)
      traefik.http.routers.traefik.entrypoints: websecure
      traefik.http.routers.traefik.service: api@internal
      traefik.http.routers.traefik.middlewares: traefik-auth
      traefik.http.routers.traefik.tls.certresolver: resolver

      traefik.http.middlewares.traefik-auth.basicauth.users: user:$$apr1$$q8eZFHjF$$Fvmkk//V6Btlaf2i/ju5n/ # user/password

```

---

_[View the full topic](https://community.traefik.io/t/after-traefik-docker-compose-install-dashboard-invisible/5709)._
