0052
This commit is contained in:
1 parent
d664326648
commit
612cafe5ad
6 files changed
+22
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user