feat: add combined frontend and API Docker deployment

This commit is contained in:
陈煜 committed 2026-10-05 16:25:06 +08:00
1 parent 0b2588e09c
commit a5f1236d44
12 files changed
+429 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
services:
app:
image: worthpath:${WORTHPATH_IMAGE_TAG:-local}
build:
context: .
dockerfile: Dockerfile
env_file:
- .env.production
ports:
- '127.0.0.1:3100:3100'
restart: unless-stopped
init: true
stop_grace_period: 30s
logging:
driver: json-file
options:
max-size: '10m'
max-file: '3'