forked from DevOps/deploy.stack
modify(gitea): add env-file
This commit is contained in:
2
gitea/env.cfg
Normal file
2
gitea/env.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
IMAGE_TAG=gitea/gitea:1.21.7-rootless
|
||||
Volumes_PATH=/data/volumes/gitea
|
||||
@@ -1,7 +1,8 @@
|
||||
# mkdir -pv gitea/{data,config}
|
||||
# cd gitea
|
||||
# chown 1000:1000 config/ data/
|
||||
|
||||
# pull:: docker compose --env-file ./gitea/env.cfg -f ./gitea/stack.yml pull
|
||||
# Run:: docker compose -p gitea --env-file ./gitea/env.cfg -f ./gitea/stack.yml up -d
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user