Files
Python-Shannon/docker-stack.yml
Poidevin, Antoine (ITOP CM) - AF 6a4ccc3376
All checks were successful
Build & Deploy Shannon / 🏗️ Build & Deploy Shannon (push) Successful in 3m1s
feat: add interactive exploration of Shannon's capacity formula with Plotly graphs
- Implemented bandwidth sensitivity and power sensitivity plots.
- Created a contour map for bit rate multiplying factors.
- Added input parameters for C/N and bandwidth with validation.
- Displayed computed results and sensitivity analysis metrics.
- Integrated interactive graphs for user exploration.
- Included background information section for user guidance.
2026-02-20 10:33:09 +01:00

44 lines
1.2 KiB
YAML

# Docker Stack pour déploiement en Swarm
# Compatible avec CI/CD Gitea Actions
version: '3.8'
services:
shannon:
image: shannon/streamlit:${IMAGE_TAG:-latest}
expose:
- 8080
environment:
- STREAMLIT_SERVER_HEADLESS=true
volumes:
- shannon_data:/app/data
networks:
- traefik_traefikfront
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.shannon.rule=Host(`shannon.antopoid.com`)
- traefik.http.routers.shannon.entrypoints=websecure
- traefik.http.routers.shannon.tls.certresolver=myhttpchallenge
- traefik.http.services.shannon.loadbalancer.server.port=8080
- traefik.http.middlewares.shannon-proxy-headers.headers.customrequestheaders.X-Forwarded-For=
- traefik.http.routers.shannon.middlewares=shannon-proxy-headers
- traefik.http.services.shannon.loadbalancer.passhostheader=true
placement:
constraints:
- "node.hostname==macmini"
replicas: 1
restart_policy:
condition: on-failure
update_config:
parallelism: 1
delay: 10s
order: start-first
volumes:
shannon_data:
driver: local
networks:
traefik_traefikfront:
external: true