feat: 按历史痕迹恢复 nginx 同域入口

This commit is contained in:
Cheng Zhou
2026-03-31 09:16:41 +08:00
parent ada3beca8e
commit 9535fece6c
8 changed files with 122 additions and 30 deletions
+12 -7
View File
@@ -50,16 +50,21 @@ services:
networks:
- ctms_net
frontend:
nginx:
build:
context: ./frontend
dockerfile: Dockerfile
args:
VITE_API_BASE_URL: ${VITE_API_BASE_URL:-}
container_name: ctms_frontend
context: .
dockerfile: nginx/Dockerfile
container_name: ctms_nginx
restart: always
ports:
- "4173:4173"
- "80:80"
- "443:443"
- "8888:8888"
volumes:
- ./nginx/certs:/etc/nginx/certs:ro
- ./frontend/public/favicon.ico:/usr/share/nginx/html/favicon.ico:ro
depends_on:
- backend
networks:
- ctms_net