Blog Archive for April 24, 2020

Docker Compose

April 24, 2020

I wanted to have three docker containers that were managed as one, being spun up and torn down together. These were a postgres database, pgsql postgres admin tool, and a spring boot back end (the one from https://drumcoder.co.uk/blog/2020/apr/24/docker-spring-boot/)

docker-compose.yml

Here's the docker-compose.yml file I used:

version: "3" …

Docker Spring Boot

April 24, 2020

I wanted to create a docker container of a spring boot application running on Java 11, and to then run that up inside docker.

That can be done with the following Dockerfile

# Build FROM maven:3.6.0-jdk-11-slim AS build COPY src /home/app/src COPY pom.xml /home/app RUN mvn -f /home/app/pom.xml …

Serenity BDD

April 24, 2020

I've used Serenity BDD for testing a web application, but I did it in the context of a defined way of working. I've recently had the time to step back and try it from scratch, and this post documents how it worked.

Gherkin Syntax

Gherkin Syntax is used …