All checks were successful
Build & Deploy Shannon / 🏗️ Build & Deploy Shannon (push) Successful in 3m1s
- 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.
44 lines
1.2 KiB
YAML
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
|