6 Commits

Author SHA1 Message Date
1ba4c0158d probably fix 2024-09-06 02:17:59 +03:00
fc7097fd50 remove topics 2024-09-05 18:20:25 +03:00
4b7f57d0dd remove topics 2024-09-05 16:13:16 +03:00
61fa099391 fix interval and retries 2024-09-05 03:23:06 +03:00
520416b772 fix warning 2024-09-05 03:20:57 +03:00
3f17f7f0b7 fix url 2024-09-05 03:20:48 +03:00
3 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,8 @@ FROM amd64/python:3.9-buster as project_env
# Set the working directory in the container
WORKDIR /app
ENV FLASK_ENV=production
# Install dependencies
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip setuptools \

View File

@ -8,7 +8,7 @@
"nodeRpc": "###RPC_URL###",
"maxRetries": 10,
"delay": 30,
"submitTx": false
"submitTx": true
},
"worker": [
{

View File

@ -6,10 +6,10 @@ services:
ports:
- "8080:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/inference/ETH"]
interval: 10s
test: ["CMD", "curl", "-f", "http://localhost:8080/inference/ETH/10m"]
interval: 30s
timeout: 5s
retries: 12
retries: 20
volumes:
- ./inference-data:/app/data
restart: always