modify(gitea): add env-file

This commit is contained in:
GengY 2024-03-04 15:24:57 +08:00
parent 2c3674636f
commit 58e2274c5d
2 changed files with 4 additions and 1 deletions

2
gitea/env.cfg Normal file
View File

@ -0,0 +1,2 @@
IMAGE_TAG=gitea/gitea:1.21.7-rootless
Volumes_PATH=/data/volumes/gitea

View File

@ -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: