dockerize app

This commit is contained in:
2020-01-03 12:25:24 -05:00
parent 816874772e
commit 482ffe960f
9 changed files with 93 additions and 16 deletions

View File

@@ -1,9 +1,14 @@
import asyncio
import sys
import requests
from proxybroker import Broker, Checker
ARCHITEUTHIS_URL = "http://localhost:5050"
if len(sys.argv) < 2:
print("Architeuthis url required")
quit(0)
ARCHITEUTHIS_URL = sys.argv[1]
def add_to_architeuthis(name, url):