File: docker-compose.yml

package info (click to toggle)
gunicorn 25.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,048 kB
  • sloc: python: 43,889; sh: 285; javascript: 54; makefile: 38
file content (13 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
services:
  http2-features:
    build:
      context: ../..
      dockerfile: examples/http2_features/Dockerfile
    ports:
      - "8443:8443"
    healthcheck:
      test: ["CMD", "python", "-c", "import httpx; httpx.get('https://127.0.0.1:8443/health', verify=False)"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 5s