Microservie docker update

This commit is contained in:
2025-10-21 10:30:23 +05:30
parent ef27c01e6b
commit 8710e52b3a
2 changed files with 6 additions and 4 deletions

View File

@ -63,12 +63,13 @@ services:
ports:
- "8088:5001"
volumes:
- ./Microservice:/app
- ./Project:/app
networks:
- vending-network
environment:
- MAIN_BACKEND_URL=https://iotbackend.rootxwire.com
- FLASK_ENV=production
- PYTHONPATH=/app
restart: always
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:5001/', timeout=5)"]