meter-dev / meter

1 stars 0 forks source link

VII. Port binding #8

Open Bogay opened 1 year ago

Bogay commented 1 year ago

Export services via port binding

https://12factor.net/port-binding

Bogay commented 1 year ago

後端跑在 8000 port 上,我想是有符合要求

The twelve-factor app is completely self-contained and does not rely on runtime injection of a webserver into the execution environment to create a web-facing service. The web app exports HTTP as a service by binding to a port, and listening to requests coming in on that port.

https://github.com/meter-dev/backend/blob/main/Dockerfile#L56-L57