When starting the API portal for the first time it is noticed that several containers hang or restart.
If you have had a prior failed deployment it is likely some data was persisted that is cause issues.
Providing there is not need for the persistent data you can safely rebuild the docker stack and remove the persistent volume.
WARNING: DO NOT REMOVE THE DOCKER VOLUME IF YOU HAVE DATA THAT YOU NEED TO KEEP
docker stack rm portal
docker stop $(docker ps -qa)
docker rm $(docker ps -qa)
docker volume rm $(docker volume ls -q)