You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
604 B
24 lines
604 B
version: '3.8'
|
|
|
|
services:
|
|
buffer-platform:
|
|
build: .
|
|
container_name: buffer-platform
|
|
ports:
|
|
- "9600:8600"
|
|
volumes:
|
|
- E:\docker_workspace\futures_datas:/app/data
|
|
environment:
|
|
- BUFFER_DB_PATH=/app/data/buffer.db
|
|
- BUFFER_HOST=0.0.0.0
|
|
- BUFFER_PORT=8600
|
|
- CACHE_TTL=300
|
|
- BUFFER_LOG_LEVEL=INFO
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8600/api/v1/health')"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|