Closed ghost closed 5 years ago
One problem is solved and now I was able to enable the Turpentine extension.
The missing piece on the Hypernode guide is to tell that we must get the authentication key from the Varnish config.
Hi, the hypernode-systemctl tool doesn't work for the docker. It will attempt to connect to the hypernode-api and that can only manage settings for real production Hypernodes. The reason we do include it in the hypernode-docker is so that if you want to use the token of your production Hypernode to perform the hypernode-api calls not on the production Hypernode but from somewhere else (for example your CI), then you can use the hypernode-systemctl software from the container and run it there.
Also, because you have root in the hypernode-docker (but you don't have that in the production environment) you can change any settings that would otherwise be set by our control systems as a result of the API calls performed by hypernode-systemctl yourself.
Thanks for your explanations @vdloo. All good, really nice project 👍🏽
Hello,
I'm configuring the
hypernode-docker
with docker-compose for my local development.docker-compose exec -u app app bash
and not the SSH as per Hypernode instructions. I don't know if there's any difference.Here's my
docker-compose.yml
file:You can see that I'm using a custom
Dockerfile
. That's because I found that the easier way to have some of the configurations I need to be persisted into the codebase.Here's the
Dockerfile
To enable PHP 7.2 I changed the
60_restart_services.sh
, here are the changed lines:To enable Varnish
I followed the instructions from here Hypernode Docker - Varnish on Docker
Issues
Varnish is not working
Once I applied the changes necessary to make Varnish run the frontend stopped working and I'm getting a 500 error.
I cannot apply the Varnish configurations on the admin panel (System > Cache Management > Apply Varnish Config). I'm getting the following error:
hypernode-systemctl
is not workingI'm getting the following response:
Thank you very much for your help.