sudo docker network create -d bridge otus-platform-network
sudo docker build --target database -t otus-database .
sudo docker run -v $(pwd)/persistence:/data/db --network=otus-platform-network -p 51003:27017 --name otus-database -d otus-database --wiredTigerCacheSizeGB='1.2'
sudo docker build --target api -t otus-api .
sudo docker run -v $(pwd)/persistence:/opt/wildfly/standalone/log --network=otus-platform-network -p 51002:8080 -p 51007:9990 --name otus-api -d otus-api
sudo docker network connect db-distribution-network otus-api