feat: 完善docker部署使用

This commit is contained in:
augushong
2025-08-08 21:47:04 +08:00
parent ed8d9dc823
commit 4c79daf501
2 changed files with 19 additions and 4 deletions

15
docker-compose.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
ulthon_admin:
# image: ulthon/ulthon_admin:v1
build:
context: . # Dockerfile 所在的目录
dockerfile: Dockerfile # Dockerfile 的名称
restart: always
ports:
- "88:80" # HTTP
volumes:
# - ./:/var/www/html # 开发模式或者直接分发代码可以去掉注释并将下面的目录增加注释
- ./runtime:/var/www/html/runtime
- ./public/storage:/var/www/html/public/storage
- ./public/build:/var/www/html/public/build
- ./storage:/var/www/html/storage