mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
(feat) setup: auto configure the main domain
This commit is contained in:
parent
a02c10ef63
commit
eba9c43809
@ -4,6 +4,7 @@
|
||||
|
||||
- Improved docker image building time
|
||||
- Use relative paths in mount scripts
|
||||
- During the setup, auto configure the main domain
|
||||
- Fix a bug: unable to generate the secret key base during the setup
|
||||
|
||||
## v5.4.4 2022 June 8
|
||||
|
@ -317,6 +317,11 @@ get_md_anchor()
|
||||
|
||||
configure_env_file()
|
||||
{
|
||||
# pre-configure the main domain
|
||||
if [ "${MAIN_DOMAIN[0]}" != "" ]; then
|
||||
sed -i.bak "s/DEFAULT_HOST=.*/DEFAULT_HOST=${MAIN_DOMAIN[0]}/g" "$FABMANAGER_PATH/config/env"
|
||||
fi
|
||||
|
||||
printf "\n\nWe will now configure the environment variables.\n"
|
||||
echo "This allows you to customize Fab-manager's appearance and behavior."
|
||||
read -rp "Proceed? (Y/n) " confirm </dev/tty
|
||||
|
Loading…
x
Reference in New Issue
Block a user