modify(gitea): add env-file
This commit is contained in:
parent
2c3674636f
commit
58e2274c5d
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}
|
# mkdir -pv gitea/{data,config}
|
||||||
# cd gitea
|
# cd gitea
|
||||||
# chown 1000:1000 config/ data/
|
# 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"
|
version: "3.9"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user