update
This commit is contained in:
parent
9537cd0426
commit
e80ad2f389
@ -38,7 +38,6 @@ RUN ln -s /app/nltk_data /root/nltk_data
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
ARG DATASET
|
||||
ARG PORT
|
||||
ARG WEB_API_URL
|
||||
ARG RABBITMQ_HOST
|
||||
ARG RABBITMQ_PORT
|
||||
@ -46,7 +45,7 @@ ARG RABBITMQ_USER
|
||||
ARG RABBITMQ_PASS
|
||||
ARG RABBITMQ_QUEUE
|
||||
|
||||
ENV PORT=${PORT} \
|
||||
ENV PORT=8080 \
|
||||
DATASET=${DATASET} \
|
||||
WORKING_DIR=/app/nltk_data \
|
||||
FUCKING_DIR=/usr/local/lib/python3.10/site-packages/spam_detector_ai/models \
|
||||
|
@ -11,7 +11,6 @@ services:
|
||||
build: ./
|
||||
container_name: spam-detector-decision-maker
|
||||
environment:
|
||||
- PORT=${PORT:-8080}
|
||||
- TOKEN=token12345
|
||||
- RABBITMQ_HOST=${RABBITMQ_HOST}
|
||||
- RABBITMQ_PORT=${RABBITMQ_PORT:-5672}
|
||||
@ -26,7 +25,7 @@ services:
|
||||
- ${MODELS_DIR}:/app/models
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:${PORT:-8080}"
|
||||
- "${PORT:-8080}:8080"
|
||||
networks:
|
||||
- spam-detector-internal
|
||||
- rabbitmq
|
||||
|
Loading…
Reference in New Issue
Block a user