Commit 3b46fd96 authored by Wael Ramadan's avatar Wael Ramadan
Browse files

fix for mlp-worker to run with docker

parent a4da11a1
Pipeline #6741 canceled with stages
in 1 minute and 25 seconds
......@@ -13,7 +13,7 @@ services:
container_name: texta-mlp-worker
build:
context: .
dockerfile: ./cpu.Dockerfile
dockerfile: ./docker/cpu.Dockerfile
volumes:
- mlp-data:/var/texta-mlp/data
......
......@@ -6,5 +6,5 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
MLP_WORKER_LANGUAGE_CODES = os.getenv("MLP_WORKER_LANGUAGE_CODES", "et,en,ru").split(",")
MLP_WORKER_DEFAULT_LANGUAGE_CODE = os.getenv("MLP_WORKER_DEFAULT_LANGUAGE_CODES", "et")
MLP_WORKER_RESOURCE_DIR = os.getenv("MLP_WORKER_RESOURCE_DIR", "../data")
MLP_WORKER_BROKER = os.getenv("MLP_WORKER_REDIS_URL", "redis://localhost:6379/1")
MLP_WORKER_BROKER = os.getenv("MLP_WORKER_REDIS_URL", "redis://mlp-redis:6379/1")
MLP_WORKER_RESULT_BACKEND = os.getenv("MLP_WORKER_REDIS_RESULT_BACKEND", MLP_WORKER_BROKER)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment