Code Review Videos >

Java Guest Book Example [Beginner Spring Boot] – Saving To Postgres

In this post, we’re continuing with our Spring Boot guestbook example, but this time we’ll be adding persistence by integrating a PostgreSQL database. While the overall process is fairly straightforward and well-documented, there were a few things that caught me off guard along the way. One challenge I faced was integrating Spring Data repositories with … Read more

Multi-Stage Docker Build Arg Example

Today I needed access to an environment variable whilst building a Docker image from a Dockerfile. To make the example concrete, I wanted to get access to the Git commit hash exposed in a CircleCI build. The idea was to then use this commit hash inside my build as a cache buster on client side … Read more

How To: Securely Connect to MySQL Docker Container from Outside

Today I needed to reset a user’s password on a WordPress blog which uses MySQL as its backing database. The WordPress blog, the MySQL database, and the NGINX server are all running on the remote server via Docker. More specifically they use a docker-compose.yaml file. How this docker-compose.yaml file looks is not super important, but … Read more