feat: package Beijing test deployment with HTTPS and preflight checks

This commit is contained in:
wlx committed 2026-09-10 18:10:31 +08:00
1 parent ae749a1fe9
commit c7278c00a6
33 files changed
+1153 -54

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
# Overlay: -f docker-compose.cloud.yml -f docker-compose.https.yml
services:
moyi-api:
environment:
CONTROL_PLANE_CORS_ORIGINS: https://${MOYI_DOMAIN:?Set MOYI_DOMAIN}
AUTH_SECURE_COOKIE: true
frontend:
ports:
- "80:80"
- "443:443"
environment:
MOYI_DOMAIN: ${MOYI_DOMAIN:?Set MOYI_DOMAIN}
NGINX_ENVSUBST_FILTER: ^MOYI_DOMAIN$
volumes:
- ./nginx/https-fallback.conf:/etc/nginx/conf.d/default.conf:ro
- ./nginx/https.conf.template:/etc/nginx/templates/moyi.conf.template:ro
- ./certs:/etc/nginx/certs:ro