myco-bonding-curve/docker-compose.yml

27 lines
848 B
YAML

services:
myco-dashboard:
build: .
container_name: myco-dashboard
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.myco-dashboard.rule=Host(`simulate.rspace.online`)"
- "traefik.http.routers.myco-dashboard.entrypoints=web"
- "traefik.http.routers.myco-dashboard.priority=150"
- "traefik.docker.network=traefik-public"
- "traefik.http.services.myco-dashboard.loadbalancer.server.port=8501"
- "traefik.http.services.myco-dashboard.loadbalancer.healthcheck.path=/_stcore/health"
- "traefik.http.services.myco-dashboard.loadbalancer.healthcheck.interval=30s"
networks:
- traefik-public
deploy:
resources:
limits:
memory: 2G
reservations:
memory: 512M
networks:
traefik-public:
external: true