Download docker-compose.yml from SevdanurGenc/Text-to-SQL: direct link, hf CLI and curl.
- Browser
- Download file 972 Bytes
-
https://huggingface.co/SevdanurGenc/Text-to-SQL/resolve/main/docker-compose.yml
- Command line
-
hf download hf://SevdanurGenc/Text-to-SQL/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/SevdanurGenc/Text-to-SQL/resolve/main/docker-compose.yml
972 Bytes
| # Kullanım (ayrıntı: DENEY_KILAVUZU.md, "Docker ile" bölümü) | |
| # docker compose build # imajı bir kez kur | |
| # docker compose up -d uygulama # arayüz: http://localhost:8501 | |
| # docker compose run --rm deney scripts/llm_deneyi.py --saglayici claude --model <MODEL> | |
| # docker compose run --rm -w /app/gercek_pilot deney calistir.py --arka-uc kural | |
| # Proje klasörü konteynere bağlanır: ayarlar, veritabanları ve sonuçlar doğrudan bilgisayardaki klasörlere yazılır. | |
| x-ortak: | |
| image: tablo2sql-tr:1.0 | |
| build: . | |
| volumes: | |
| - .:/app | |
| environment: | |
| # Ollama bilgisayarın kendisinde çalışır; konteyner ona bu adresle ulaşır | |
| - OLLAMA_HOST=http://host.docker.internal:11434 | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" | |
| services: | |
| uygulama: | |
| <<: | |
| ports: | |
| - "8501:8501" | |
| deney: | |
| <<: | |
| profiles: ["deney"] | |
| working_dir: /app | |
| entrypoint: ["python"] | |