Skip to content

Whu-Lambda/whu-lambda-moe-backend

Repository files navigation

How to Deploy

(Guideline for people not knowing container.)

First

Install Docker.

Second

$ docker build -t whu-lambda/web/grpc .

$ docker run -p {real port}:80 -d --name TadokoroKoji whu-lambda/web/grpc Github:ClientSecret={clientSecret} Microsoft:ClientSecret={clientSecret}

Options in [] are optional.

In container, port 80 is for http. They are bound to {real port} of the host.

For now, appsettings.Production.json under ./Whu.Lambda.Moe.Backend is configured for development. Rewrite it in production.

Replace {clientSecret} with the correct secret.

{clientSecret} can also be provided by envirenment variables(replace : with __) | Secret Manager(not sure if works in production) | etc. (See Secrets Management)

Only HTTP/2 requests && requests from localhost are accepted.

About

The backend of Whu Lambda website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published