Add Streamlit app + knb_stats analysis notebooks
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -3,12 +3,39 @@ services:
|
||||
build: .
|
||||
image: kuh-no-bowls:latest
|
||||
container_name: kuh-no-bowls-scraper
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
LOG_PATH: /var/log/kuh-no-bowls/kuh-no-bowls.log
|
||||
TZ: America/New_York
|
||||
volumes:
|
||||
- knb_logs:/var/log/kuh-no-bowls
|
||||
networks:
|
||||
- services_net
|
||||
|
||||
dashboard:
|
||||
build: .
|
||||
image: kuh-no-bowls:latest
|
||||
container_name: kuh-no-bowls-dashboard
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
entrypoint: ["streamlit", "run", "app.py", "--server.port=8502", "--server.address=0.0.0.0"]
|
||||
ports:
|
||||
- "8502:8502"
|
||||
volumes:
|
||||
- ./app.py:/app/app.py:ro
|
||||
- ./.streamlit:/app/.streamlit:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8502/_stcore/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
networks:
|
||||
- services_net
|
||||
|
||||
volumes:
|
||||
knb_logs:
|
||||
|
||||
networks:
|
||||
services_net:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user