- 使用 PAYLOAD=$(cat <<ENDPAYLOAD) 替代 cat > file <<EOF - 确保环境变量在 heredoc 中正确展开 - 添加测试脚本验证环境变量展开 - 修复构建详情链接和消息内容缺失问题
This commit is contained in:
+3
-20
@@ -2,7 +2,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
novalon-website:
|
||||
image: novalon-website:1.0.0
|
||||
image: novalon-website:latest
|
||||
container_name: novalon-website
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -14,27 +14,10 @@ services:
|
||||
- RESEND_API_KEY=${RESEND_API_KEY}
|
||||
- OPS_ALERT_EMAIL=${OPS_ALERT_EMAIL:-ops@novalon.cn}
|
||||
volumes:
|
||||
- ./novalon-website/logs:/app/logs
|
||||
- ./logs:/app/logs
|
||||
networks:
|
||||
- novalon-network
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: novalon-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./novalon-nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./novalon-nginx/ssl:/etc/nginx/ssl:ro
|
||||
- ./novalon-nginx/logs:/var/log/nginx
|
||||
- ./certbot:/var/www/certbot
|
||||
networks:
|
||||
- novalon-network
|
||||
depends_on:
|
||||
- novalon-website
|
||||
|
||||
networks:
|
||||
novalon-network:
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user