mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-02 14:59:26 +02:00
fix(install): host env variable
This commit is contained in:
parent
529af9835f
commit
2985929079
|
|
@ -252,7 +252,6 @@ download_management_compose_file() {
|
||||||
|
|
||||||
# Inject dynamic env values into the compose file
|
# Inject dynamic env values into the compose file
|
||||||
echo -e "${YELLOW}#${RESET} Configuring docker-compose file env variables...\\n"
|
echo -e "${YELLOW}#${RESET} Configuring docker-compose file env variables...\\n"
|
||||||
sed -i "s|HOST=replaceme|HOST=${local_ip_address}|g" "$compose_file_path"
|
|
||||||
sed -i "s|URL=replaceme|URL=http://${local_ip_address}:8080|g" "$compose_file_path"
|
sed -i "s|URL=replaceme|URL=http://${local_ip_address}:8080|g" "$compose_file_path"
|
||||||
sed -i "s|APP_KEY=replaceme|APP_KEY=${app_key}|g" "$compose_file_path"
|
sed -i "s|APP_KEY=replaceme|APP_KEY=${app_key}|g" "$compose_file_path"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
- DRIVE_DISK=fs
|
- DRIVE_DISK=fs
|
||||||
- APP_KEY=replaceme
|
- APP_KEY=replaceme
|
||||||
- HOST=replaceme
|
- HOST=0.0.0.0
|
||||||
- URL=replaceme
|
- URL=replaceme
|
||||||
- DB_HOST=mysql
|
- DB_HOST=mysql
|
||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user