diff --git a/run.py b/run.py new file mode 100644 index 0000000..1b69732 --- /dev/null +++ b/run.py @@ -0,0 +1,4 @@ +from ipget.ipget import app + +if __name__ == '__main__': + app.run(host="0.0.0.0", port=5000, debug=True) diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..b9a8fa0 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exec gunicorn -w ${WORKERS:-2} -b 0.0.0.0:5000 ipget.ipget:app