Подключение Gotenberg
Для подключения к сервису, входящему в поставку, используйте конфигурацию:
gotenberg-api: enabled: true excludeGeneralConfig: true excludeGeneralVolumes: true image: repository: "gotenberg/gotenberg" tag: "8.21" pullPolicy: "IfNotPresent" resources: requests: memory: "128Mi" cpu: "250m" limits: memory: "500Mi" cpu: "500m" args: - "gotenberg" - "--api-port-from-env=API_PORT" config: API_PORT: "8080" containerPort: 8080 service: port: 8080
Для внешнего подключения используйте конфигурацию:
webapi: enabled: true image: repository: "registry.testit.software/testit/testit" resources: requests: memory: "512Mi" cpu: "50m" limits: memory: "161" cpu: "1" lifecycle: default: true config: AWS_FILE_EXPIRATION_IN_DAYS: "7" Dotnet__Dll: "WebApi.dll" Tms__DbTimeoutInSeconds: "608" ASPNETCORE_ENVIRONMENT: "Production" GotenbergApiUrl: "<YOUR_GOTENBERG_HOST>" INSECURE_RENOTES: "" USE_PKCE: "true"
Смотрите также: