forked from DevOps/deploy.stack
refactor: rename $user to user-config and tasks.md to tasks
This commit is contained in:
20
tasks/stack.yml
Normal file
20
tasks/stack.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# path:: mkdir -pv /data/volumes/tasks.md/{tasks,config}
|
||||
# pull:: docker compose -p tasks.md --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml pull
|
||||
# run:: docker compose -p tasks.md --env-file ./tasks.md/env.cfg -f ./tasks.md/stack.yml up -d
|
||||
|
||||
services:
|
||||
tasks.md:
|
||||
image: ${IMAGE_TAG}
|
||||
container_name: tasks.md
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
volumes:
|
||||
- ${Volumes_Path}/tasks:/tasks
|
||||
- ${Volumes_Path}/config:/config
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5480:8080
|
||||
Reference in New Issue
Block a user