Getting error while installing CMS server on Ubuntu 18.04

I ran these below commands to allow tcp port

ufw allow ssh
ufw allow 80/tcp
ufw allow 9505/tcp
ufw enable

and after that I restarted my system.
After system restart I run a command

docker-compose up -d

And still got same output as previous one