Skip to content

Commit

Permalink
Merge pull request #4 from Hexastack/fix/en-vars
Browse files Browse the repository at this point in the history
fix environment variables
  • Loading branch information
MohamedAliBouhaouala authored Dec 21, 2024
2 parents 53a6d83 + e3b4215 commit cc2b5b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ MODEL_PATHS='{
"language": "Hexastack/language-classifier-cnn",
"intent": "Hexastack/intent-classifier-lstm"
}'
PORT=8000
HOST=0.0.0.0
MODE=huggingface
LUDWIG_NLU_PORT=8000
LUDWIG_NLU_HOST=0.0.0.0
LUDWIG_NLU_MODE=huggingface
2 changes: 1 addition & 1 deletion docker/docker-compose.ludwig-nlu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
env_file: ./.env
command: >-
multi_serve
--model_paths '${MODEL_PATHS}' --mode ${MODE} --port ${PORT} --host ${HOST}
--model_paths '${MODEL_PATHS}' --mode ${LUDWIG_NLU_MODE} --port ${LUDWIG_NLU_PORT} --host ${LUDWIG_NLU_HOST}
volumes:
- ../ludwig-nlu/data:/data
- ../ludwig-nlu/results:/results
Expand Down

0 comments on commit cc2b5b8

Please sign in to comment.