💻 Tech
In docker-compose, the environment variables defined in .env are already loaded when you run docker-compose up
, so you don’t need to set the default values in docker-compose.yml
.
Also, if you want to wait for a service to finish with its startup process, you can use a combination of depends_on
and Dockerize. Dockerize
has a wait option that waits for a specific port to be available. For example, if you want to wait for PostgreSQL to be ready, you can use the following command:
dockerize -wait tcp://db:5432 -timeout 1m
🎬 Movie
Saltburn is a complex story of human nature. At first, you may think Oliver is an innocuous, naive person, trying to be with the people with skin in the game. The story gives a vibe that he’s like a moth drawn to the light — a trap. He better leave the place. But the tables turned, and like what Venetia told Oliver, he’s a moth; you let it into your home, thinking that it’s harmless until it destroys everything. And he did. He’s a force of nature. Just like the maze in Saltburn, he’s enigmatic and complex. You can’t escape his vicious plan coming for you.