version: '3.4' services: oc-catalog: environment: - MONGO_DATABASE=DC_myDC image: 'oc-catalog:latest' ports: - 8087:8080 container_name: oc-catalog networks: - catalog labels: - "traefik.enable=true" - "traefik.http.routers.catalog.entrypoints=web" - "traefik.http.routers.catalog.rule=Host(`localhost`)" - "traefik.routers.catalog.rule=Path(/datacenter)" - "traefik.http.routers.catalog.tls=false" - "traefik.http.services.catalog.loadbalancer.server.port=80" - "traefik.http.routers.catalog.middlewares=auth" networks: catalog: external: true