To perform database upgrade, first stop the containers, then :
# nerdctl compose run --rm listmonk ./listmonk --static-dir=/listmonk/static --upgrade