medved/docker/core/files/run.sh

12 lines
409 B
Bash
Raw Normal View History

2018-04-02 22:41:10 +00:00
#!/usr/bin/env bash
export CORE_IP=$(host ${CORE_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export MONGO_IP=$(host ${MONGO_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export SELENIUM_IP=$(host ${SELENIUM_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export REDIS_IP=$(host ${REDIS_IP} | head -n1 | grep -Po "(\d+\.?){4}")
/tmp/confd -onetime -backend env
sudo -u tor tor
cd /mdvd && proxychains -q python3 medved.py