tomoya 1 年之前
父節點
當前提交
6c8e328182
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      cloud-docker-stack.yml

+ 9 - 9
cloud-docker-stack.yml

@@ -18,14 +18,14 @@ services:
           PathPrefix(`/docs`) || PathPrefix(`/redoc`)
         traefik.http.services.ai-anchor-com-backend.loadbalancer.server.port: '80'
     environment:
-      BACKEND_CORS_ORIGINS: '["https://cloud.choozmo:8080", "http://cloud.choozmo.com:8080",
-        "https://cloud.choozmo.com", "http://cloud.choozmo.com","http://172.105.219.42",
-        "http://local.ai-anchor.com:5173", "http://local.ai-anchor.com:8080", "http://localhost",
-        "http://localhost:4200", "http://localhost:3000", "http://localhost:5173",
-        "http://localhost:8080", "https://localhost", "https://localhost:4200", "https://localhost:3000",
-        "https://localhost:8080", "http://dev.ai-anchor.com:3000", "http://dev.ai-anchor.com:5173",
-        "http://dev.ai-anchor.com:8080", "https://stag.ai-anchor.com", "https://ai-anchor.com",
-        "http://local.dockertoolbox.tiangolo.com", "http://localhost.tiangolo.com"]'
+      BACKEND_CORS_ORIGINS: '["https://payment.ecpay.com.tw", "https://vendor-stage.ecpay.com.tw","http://dev.cloud.choozmo.com:5173",
+        "http://dev.cloud.choozmo.com:8080", "http://cloud.choozmo.com:8080", "https://cloud.choozmo.com",
+        "http://cloud.choozmo.com","http://172.105.219.42", "http://local.ai-anchor.com:5173",
+        "http://local.ai-anchor.com:8080", "http://localhost", "http://localhost:4200",
+        "http://localhost:3000", "http://localhost:5173", "http://localhost:8080",
+        "https://localhost", "https://localhost:4200", "https://localhost:3000", "https://localhost:8080",
+        "http://dev.ai-anchor.com:3000", "http://dev.ai-anchor.com:5173", "http://dev.ai-anchor.com:8080",
+        "https://stag.ai-anchor.com", "https://ai-anchor.com"]'
       BACKEND_VIDEO_STORAGE: backend_storage/videos
       BACKEND_ZIP_STORAGE: backend_storage/zips
       CELERY_VIDEO_STORAGE: celery_storage/videos
@@ -33,7 +33,7 @@ services:
       DOCKER_IMAGE_BACKEND: backend
       DOCKER_IMAGE_CELERYWORKER: gpuceleryworker
       DOCKER_IMAGE_FRONTEND: frontend
-      DOMAIN: cloud.choozmo.com:8080
+      DOMAIN: cloud.choozmo.com
       EMAILS_FROM_EMAIL: info@ai-anchor.com
       FIRST_SUPERUSER: admin@ai-anchor.com
       FIRST_SUPERUSER_PASSWORD: password