Open naingoted opened 5 years ago
Do you want to change the url environment or in your application?
if you are trying to change this url
PROJECT_BASE_URL=drupal.docker.localhost
you need run make up
again
If you are trying to change in your application you need use settings.php
To be sure config changes are picked up I always do:
docker-compose up --build
to be sure they are rebuilt if needed.
make up
does:
docker-compose pull
docker-compose up -d --remove-orphans
and pull retrieves docker images defined in docker-compose.yml, so it will pick your config changes there.
I am trying to update PROJECT_BASE_URL
but it's working. I have tried as mentioned in the above comments.
For make up
, it says Command 'make' not found
.
Codebase mounted codebase
Describe your issue I tried to change baseurl after run docker-compose up for the first time. It works for the first baseurl but subsequent urls that i changed won't work unless i change the very first url back. Is there any docker command that i can clear cache or something. because i tried docker-compose down already. do i have to remove db or something ?
Output of
docker info
Contents of your
docker-compose.yml
Contents of your
.env
Logs output
docker-compose logs