summaryrefslogtreecommitdiffstats
path: root/opt/infra/roles/testapi/files/run_testapi.sh
blob: f9ba8387183abc977fdf55e416f6ee5f0d5d7717 (plain)
1
2
3
4
#!/bin/bash

envs="mongodb_url=mongodb://mongo:27017/  -e api_port=8000 -e swagger_url=http://testapi.qtip.openzero.net"
docker run --name testapi --link mongo:mongo -p 8000:8000 -e $envs -d opnfv/testapi