mirror of
https://github.com/YunoHost-Apps/bonfire_ynh.git
synced 2024-09-03 18:16:01 +02:00
fix
This commit is contained in:
parent
167748b2c8
commit
8f0f2fde82
2 changed files with 13 additions and 0 deletions
3
conf/.env
Normal file
3
conf/.env
Normal file
|
@ -0,0 +1,3 @@
|
|||
MIX_ENV=prod
|
||||
FLAVOUR=classic
|
||||
HOSTNAME=__DOMAIN__
|
|
@ -59,6 +59,16 @@ ynh_replace_string --match_string="PUBLIC_PORT=4000" --replace_string="PUBLIC_PO
|
|||
# max file upload size
|
||||
UPLOAD_LIMIT="${media_upload_size:0:2}000000" # convert the MB argument in bytes
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
# Configure the release
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue