Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Uvicorn (0.13 sec)

  1. docs/de/docs/deployment/server-workers.md

    ## Gunicorn und Uvicorn installieren
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    Dadurch wird sowohl Uvicorn mit zusätzlichen `standard`-Packages (um eine hohe Leistung zu erzielen) als auch Gunicorn installiert.
    
    ## Gunicorn mit Uvicorn-Workern ausführen
    
    Dann können Sie Gunicorn ausführen mit:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/behind-a-proxy.md

    ### Bereitstellung des `root_path`
    
    Um dies zu erreichen, können Sie die Kommandozeilenoption `--root-path` wie folgt verwenden:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/behind-a-proxy.md

    它不要求访问 `http://127.0.0.1:800/api/v1/app`。
    
    Uvicorn 预期代理在 `http://127.0.0.1:8000/app` 访问 Uvicorn,而在顶部添加 `/api/v1` 前缀是代理要做的事情。
    
    ## 关于移除路径前缀的代理
    
    注意,移除路径前缀的代理只是配置代理的方式之一。
    
    大部分情况下,代理默认都不会移除路径前缀。
    
    (未移除路径前缀时)代理监听 `https://myawesomeapp.com` 等对象,如果浏览器跳转到 `https://myawesomeapp.com/api/v1/app`,且服务器(例如 Uvicorn)监听 `http://127.0.0.1:8000` 代理(未移除路径前缀) 会在同样的路径:`http://127.0.0.1:8000/api/v1/app` 访问 Uvicorn。
    
    ## 本地测试 Traefik
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/first-steps.md

    Это единая точка входа для создания и взаимодействия с API.
    
    Именно к этой переменной `app` обращается `uvicorn` в команде:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Если создать такое приложение:
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/first-steps.md

    Ce sera le point principal d'interaction pour créer toute votre API.
    
    Cette `app` est la même que celle à laquelle fait référence `uvicorn` dans la commande :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Si vous créez votre app avec :
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/docker.md

    Nesse tipo de cenário, provavelmente você desejará ter **um único processo (Uvicorn) por contêiner**, pois já estaria lidando com a replicação no nível do cluster.
    
    Então, nesse caso, você **não** desejará ter um gerenciador de processos como o Gunicorn com trabalhadores Uvicorn, ou o Uvicorn usando seus próprios trabalhadores Uvicorn. Você desejará ter apenas um **único processo Uvicorn** por contêiner (mas provavelmente vários contêineres).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/behind-a-proxy.md

                // More stuff here
        }
    }
    ```
    
    👉 🖼, "🗳" 💪 🕳 💖 **Traefik**. &amp; 💽 🔜 🕳 💖 **Uvicorn**, 🏃‍♂ 👆 FastAPI 🈸.
    
    ### 🚚 `root_path`
    
    🏆 👉, 👆 💪 ⚙️ 📋 ⏸ 🎛 `--root-path` 💖:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/first-steps.md

    Este será el punto de interacción principal para crear todo tu API.
    
    Esta `app` es la misma a la que nos referimos cuando usamos el comando de `uvicorn`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Si creas un app como:
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/docker.md

    ### 1️⃣ 🛠️ 📍 📦
    
    👉 🆎 😐, 👆 🎲 🔜 💚 ✔️ **👁 (Uvicorn) 🛠️ 📍 📦**, 👆 🔜 ⏪ 🚚 🧬 🌑 🎚.
    
    , 👉 💼, 👆 **🔜 🚫** 💚 ✔️ 🛠️ 👨‍💼 💖 🐁 ⏮️ Uvicorn 👨‍🏭, ⚖️ Uvicorn ⚙️ 🚮 👍 Uvicorn 👨‍🏭. 👆 🔜 💚 ✔️ **👁 Uvicorn 🛠️** 📍 📦 (✋️ 🎲 💗 📦).
    
    ✔️ ➕1️⃣ 🛠️ 👨‍💼 🔘 📦 (🔜 ⏮️ 🐁 ⚖️ Uvicorn 🛠️ Uvicorn 👨‍🏭) 🔜 🕴 🚮 **🙃 🔀** 👈 👆 🌅 🎲 ⏪ ✊ 💅 ⏮️ 👆 🌑 ⚙️.
    
    ### 📦 ⏮️ 💗 🛠️ &amp; 🎁 💼
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    ### Fornecendo o `root_path`
    
    Para conseguir isso, você pode usar a opção de linha de comando `--root-path` assim:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top