build(drawnix): 添加docker compose配置文件和环境变量

添加stack.yml和env.cfg配置文件用于部署drawnix服务
This commit is contained in:
cnphpbb
2025-08-27 12:22:09 +08:00
parent ed988ea7dd
commit 9034fa472b
2 changed files with 13 additions and 0 deletions

1
drawnix/env.cfg Normal file
View File

@@ -0,0 +1 @@
IMAGE_TAG=pubuzhixing/drawnix:v0.2.0

12
drawnix/stack.yml Normal file
View File

@@ -0,0 +1,12 @@
# pull:: docker compose -p drawnix --env-file ./drawnix/env.cfg -f ./drawnix/stack.yml pull
# run:: docker compose -p drawnix --env-file ./drawnix/env.cfg -f ./drawnix/stack.yml up -d
services:
drawnix:
image: ${IMAGE_TAG}
container_name: drawnix
environment:
- TZ=Asia/Shanghai
ports:
- 5080:80
restart: unless-stopped