33 lines
1.4 KiB
YAML
33 lines
1.4 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
backend:
|
|
image: wcag_rest_server
|
|
container_name: wcag_rest_server
|
|
ports:
|
|
- "8000:8000" # Adjust to your backend port
|
|
environment:
|
|
- MLLM_END_POINT_OPENAI=https://hiis-accessibility-fonderia.cognitiveservices.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2025-01-01-preview
|
|
- MLLM_API_KEY_OPENAI=4lwGUwrx7jsqdxESGBpN9wYYyLNsxzC2s8ZLQlZPCQUayDWuDo3NJQQJ99BKACfhMk5XJ3w3AAAAACOGs2uw
|
|
- MLLM_MODEL_ID_OPENAI=gpt-4o
|
|
- USE_OPENAI_MODEL=True
|
|
networks:
|
|
- wcag-network
|
|
|
|
ui:
|
|
image: wcag_ui
|
|
container_name: wcag_ui
|
|
ports:
|
|
- "7860:7860" # Adjust to your UI port
|
|
environment:
|
|
- WCAG_REST_SERVER_URL=http://backend:8000 # UI can reference backend by service name
|
|
- URL_LIST=["https://amazon.com","https://ebay.com","https://walmart.com","https://etsy.com","https://target.com","https://wayfair.com","https://bestbuy.com","https://macys.com","https://homedepot.com","https://costco.com","https://www.ansa.it","https://en.wikipedia.org/wiki/Main_Page","https://www.lanazione.it","https://www.ansa.it","https://www.bbc.com","https://www.cnn.com","https://www.nytimes.com","https://www.theguardian.com"]
|
|
- DB_PATH=persistence/wcag_validator_ui.db
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- wcag-network
|
|
|
|
networks:
|
|
wcag-network:
|
|
driver: bridge |