How do you/did you delete your account? How can you make sure they don't just undelete your stuff again?
I myself sent them a GDPR request to delete my accounts and all the associated data. Didn't hear anything yet, but they still got three weeks time before I hire an attorney (or make a formal complaint with my local DPA)
Make sure the docker containers are using the same network. If you didn't specify something, this should be the case for all three containers in the compose file.
Alright, now give every container a name of your choosing using the container_name field.
Lastly, change the nginx config to refer to the app container by name, but I think you already did that:
upstream djangoapp {
server container-name:port
}
No need to expose any ports except the 80 or 443 of the nginx container.
If you have issues, spin up a temporary alpine container with a command like "tail -f /dev/null", and use it with "docker exec -it temp /bin/bash" to install debugging stuff to debug the connection (nc/netcat, curl, ...).
Ahhhh.... alright, I misunderstood. So either depends_on is your friend or you could implement a rather dirty solution: Write a little script for the NPM healthcheck that also checks if searxng is online. Then use autoheal.
But that would be my last solution and only if the searxng is very closely depending on the npm container.
This will do exactly what you want: You have to configure a healthcheck for searnxg that detects when it's down. Maybe something with curl or whatever.
As soon as it's down autoheal will restart the container. Doesn't matter why it is down (update, dependency not running, ...) autoheal will just restart the container.
Either use depends_on or think of a health check and use Will Farrell's simple Docker Autoheal container that restarts containers when they become unhealthy.
https://github.com/willfarrell/docker-autoheal
How do you/did you delete your account? How can you make sure they don't just undelete your stuff again?
I myself sent them a GDPR request to delete my accounts and all the associated data. Didn't hear anything yet, but they still got three weeks time before I hire an attorney (or make a formal complaint with my local DPA)