How to run npm install ?
docker compose run --rm -ti strapi npm i
kubectl create secret docker-registry regcred --docker-server=ghcr.io --docker-username=harrytang --docker-password=xxx -n harrytang-xyz
kubectl create secret generic env --from-env-file=./.env.prod -n harrytang-xyz
-
Uncheck
Block all public access
-
Check
ACLs enabled
-
Cross-origin resource sharing (CORS)
[ { "AllowedHeaders": [], "AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"], "AllowedOrigins": ["*"], "ExposeHeaders": [] } ]