Compare commits
7 Commits
505ba1a42d
...
XGBRegress
Author | SHA1 | Date | |
---|---|---|---|
1ba4c0158d | |||
fc7097fd50 | |||
4b7f57d0dd | |||
61fa099391 | |||
520416b772 | |||
3f17f7f0b7 | |||
59672292e2 |
@ -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 \
|
||||
|
@ -8,7 +8,7 @@
|
||||
"nodeRpc": "###RPC_URL###",
|
||||
"maxRetries": 10,
|
||||
"delay": 30,
|
||||
"submitTx": false
|
||||
"submitTx": true
|
||||
},
|
||||
"worker": [
|
||||
{
|
||||
|
@ -4,12 +4,12 @@ services:
|
||||
build: .
|
||||
command: python -u /app/app.py
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8080:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/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
|
||||
@ -18,7 +18,7 @@ services:
|
||||
container_name: updater-basic-eth-pred
|
||||
build: .
|
||||
environment:
|
||||
- INFERENCE_API_ADDRESS=http://inference:8000
|
||||
- INFERENCE_API_ADDRESS=http://inference:8080
|
||||
command: >
|
||||
sh -c "
|
||||
while true; do
|
||||
|
Reference in New Issue
Block a user