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.
buffer_platform/docker-compose.yml

24 lines
553 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", "curl", "-f", "http://localhost:8600/api/v1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s