Skip to content

Commit

Permalink
Expose dynamic scheduler UI (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk authored Dec 4, 2024
1 parent 23a790d commit 76c3ba4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions services/simcore/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ services:

dynamic-schdlr:
networks:
- public
- monitored
deploy:
replicas: 2
Expand All @@ -882,6 +883,16 @@ services:
reservations:
memory: 50M
cpus: '0.1'
labels:
- traefik.enable=true
- traefik.docker.network=${PUBLIC_NETWORK}
- traefik.http.services.${PREFIX_STACK_NAME}_dynamic_scheduler.loadbalancer.server.port=8000
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.rule=Host(`${MONITORING_DOMAIN}`) && PathPrefix(`/dynamic-scheduler`)
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.entrypoints=https
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.tls=true
- traefik.http.middlewares.${PREFIX_STACK_NAME}_dynamic_scheduler_replace_regex.replacepathregex.regex=^/dynamic-scheduler/(.*)$$
- traefik.http.middlewares.${PREFIX_STACK_NAME}_dynamic_scheduler_replace_regex.replacepathregex.replacement=/$${1}
- traefik.http.routers.${PREFIX_STACK_NAME}_dynamic_scheduler.middlewares=${PREFIX_STACK_NAME}_dynamic_scheduler_replace_regex@swarm, ops_gzip@swarm, ops_auth@swarm

volumes:
rabbit_data:
Expand Down

0 comments on commit 76c3ba4

Please sign in to comment.