post-receive: quiet gpg decryption
This commit is contained in:
parent
a1de692e20
commit
82f941603b
|
|
@ -31,7 +31,11 @@ services:
|
||||||
DB_USER: gitea
|
DB_USER: gitea
|
||||||
DB_PASSWD: ${DB_PW}
|
DB_PASSWD: ${DB_PW}
|
||||||
GITEA__service__SHOW_REGISTRATION_BUTTON: false
|
GITEA__service__SHOW_REGISTRATION_BUTTON: false
|
||||||
GITEA__service__ENABLE_OPENID_SIGNIN: false
|
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: true
|
||||||
|
GITEA__openid__ENABLE_OPENID_SIGNIN: false
|
||||||
|
GITEA__openid__ENABLE_OPENID_SIGNUP: false
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
expose:
|
expose:
|
||||||
- 3000
|
- 3000
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ for app in $changed; do
|
||||||
# remove old .env if no .env.gpg is supplied
|
# remove old .env if no .env.gpg is supplied
|
||||||
[ -f .env ] && [ -f .env.gpg ] || rm .env
|
[ -f .env ] && [ -f .env.gpg ] || rm .env
|
||||||
# decrypt .env.gpg
|
# decrypt .env.gpg
|
||||||
[ -f .env.gpg ] && gpg -d .env.gpg > .env
|
[ -f .env.gpg ] && gpg --quiet -d .env.gpg > .env
|
||||||
|
|
||||||
docker compose down | uniq
|
docker compose down | uniq
|
||||||
docker compose up --quiet-pull -d | uniq
|
docker compose up --quiet-pull -d | uniq
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue