This commit is contained in:
Vaica committed 2026-06-22 00:52:51 +08:00
1 parent b8d16016d8
commit efa527e138
6 files changed
+22 -7

No files matched your search

+2 -1
View File
@@ -12,7 +12,6 @@ services:
restart: unless-stopped
ports:
- "8016:8016"
- "1313:1313"
volumes:
# Hugo 博客目录(必须)- 映射宿主机博客根目录到容器内 /blog
- ..:/blog
@@ -24,6 +23,8 @@ services:
- ./backups:/app/backups
# 环境变量文件
- ./.env:/app/.env:ro
# SSH 密钥(用于 git push)
- /root/.ssh:/home/nextjs/.ssh:ro
environment:
- NODE_ENV=production
- PORT=8016