diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2a6197c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ + +services: + metaproxy: + build: . + ports: + - "8182:8182" + volumes: + - ./data:/opt/app/data + environment: + - FLASK_ENV=development + restart: unless-stopped diff --git a/env.example b/env.example new file mode 100644 index 0000000..071a6af --- /dev/null +++ b/env.example @@ -0,0 +1,4 @@ +EXCLUDED_COUNTRIES=["RU", "CN"] +PREFERRED_PROTOCOLS=["https", "http", "rsync"] +PREFERRED_TYPES=["https", "http"] +MIN_PREFERENCE=50