forked from DevOps/deploy.stack
build(drawnix): 添加docker compose配置文件和环境变量
添加stack.yml和env.cfg配置文件用于部署drawnix服务
This commit is contained in:
12
drawnix/stack.yml
Normal file
12
drawnix/stack.yml
Normal 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
|
||||
Reference in New Issue
Block a user