Add https components to a service to deploy websites and apis.
Https components let you deploy code to an https endpoint that is either public or internal.
Public https components are used to deploy APIs and websites to the public, while Internal https components are used to deplyo APIs and websites that are accessible to other services and users inside your network.
If you are deploying a static site, we recommend using a static component.
We are adding support for build packs soon.
https-public config looks like:
components: - type: https-public instances: 1 - 5 cmd: /app/scripts/cmd
https-internal config looks like:
You can run
pt schema validate at any time to validate a service config.
Ready checks are useful for services that need to do setup time when they startup.
Each https component in a service provisions:
A public https component provisions the following additional resources:
More architecture / cloud resource documentation is coming soon.