cp backend.env Backend/.env
cp frontend.env Frontend/.envdocker-compose build
docker-compose up -dWarning
When building frontend image for production, set ENVs inside of the Dockerfile.
Create context to execute Docker commands as if you were on VPS.
docker context create blog --host=ssh;://<username>@<ip>Use that context.
docker context use blogdocker swarm initAdd secrets
echo "PUT_STRING_HERE" | docker secret create DB_CONNECTION_STRING -Deploy to the VPS
docker stack deploy blog -c docker-stack.yaml --with-registry-auth