rebuild(stage-14): deliver migration and recovery tooling
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
image: xiaobai-review-next:local
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8765:8765"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
APP_ENV: production
|
||||
APP_HOST: 0.0.0.0
|
||||
APP_PORT: 8765
|
||||
APP_DATA_DIR: /app/data
|
||||
APP_DATABASE_PATH: /app/data/xiaobai.db
|
||||
APP_PRIVATE_MENTOR_SKILLS_DIR: /app/data/private-mentor-skills
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=64m,mode=1777
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
Reference in New Issue
Block a user