diff options
author | Tao Wang <twang2218@gmail.com> | 2017-10-31 19:55:46 +1100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-31 16:55:46 +0800 |
commit | d545e32b5623b12ed2c4405be2484ffdfa9432e5 (patch) | |
tree | 127e32dc2a822dd29f5934dbbf7164b40637445e /templates | |
parent | b0b24a2dbb8bca7e99e432d383716d6d811b7981 (diff) | |
download | gitea-d545e32b5623b12ed2c4405be2484ffdfa9432e5.tar.gz gitea-d545e32b5623b12ed2c4405be2484ffdfa9432e5.zip |
Add environment variable support for Docker image (#2201)
* Add `gettext` dependencies as we need `envsubst` command;
* Modified s6's gitea setup script, instead of `cp` the template if no
`app.ini` exist, it will substitude the envvars and generate the new
`app.ini`;
* Make `/docker/etc/templates/app.ini` a template contains environment
variables;
Signed-off-by: Tao Wang <twang2218@gmail.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions