added complete url variable in .env

This commit is contained in:
asus
2024-02-01 01:52:16 +01:00
parent cab7757043
commit 11270c5e69
4 changed files with 12 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ require:
mkdir -p $(VOLUMES_D)
# verify if the wordpress url is added to the local path
@echo $(B_PURPLE)"verify if the wordpress url is added to the local path"$(RESET)
- if ! grep "127.0.0.1 $(WP_URL)" /etc/hosts 2> /dev/null; then \
- if ! grep "127.0.0.1 $(WP_URL)" /etc/hosts 2> /dev/null; then \
echo $(B_PURPLE)"nop ! adding it"$(RESET) \
bash -c 'echo -e "\n# adding for lejourduprof (you can delete it)\n127.0.0.1 $(WP_URL)" >> /etc/hosts'; \
fi
@@ -76,7 +76,7 @@ build_logs:
up:
docker compose -f $(COMPOSE_FILE) up -d
@echo $(B_PURPLE)"you can now connect at "$(B_YELLOW)"https://$(WP_URL)"$(B_PURPLE)" or 127.0.0.1"$(RESET)
@echo $(B_PURPLE)"you can now connect at "$(B_YELLOW)"https://$(WP_COMPLETE_URL)"$(B_PURPLE)" or 127.0.0.1"$(RESET)
down:
docker compose -f $(COMPOSE_FILE) down