初始化 M0:Astro SSR + node:sqlite 脚手架与只读页面
This commit is contained in:
1 parent
97440b4120
commit
8430e5304d
39 files changed
+6398
-1
No files matched your search
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
container_name: lfspecs
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# 宿主 3010 -> 容器 3000(宿主 3000 已被 frps 占用)
|
||||
- "3010:3000"
|
||||
volumes:
|
||||
# 唯一需要持久化的目录:SQLite 与上传图片
|
||||
- ./data:/app/data
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DB_PATH: /app/data/app.db
|
||||
UPLOADS_DIR: /app/data/uploads
|
||||
Reference in new issue
Block a user