Add Docker Compose deployment for UCEPSA order report API

This commit is contained in:
Victor Fraile Garcia 2026-05-28 22:29:10 +02:00
parent 0ed753587b
commit 4e3e3aef1b
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,25 @@
services:
order_report_api:
container_name: mv_ucepsa_order_report_api
build:
context: ./services/order-report-api
dockerfile: Dockerfile
image: mv_ucepsa_order_report_api:0.3
restart: unless-stopped
env_file:
- ./services/order-report-api/.env.local
ports:
- "8090:8090"
networks:
- ucepsa_edge_oee_net
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8090/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
networks:
ucepsa_edge_oee_net:
external: true
name: mv_ucepsa_net

View File

@ -0,0 +1,8 @@
.env.local
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
.pytest_cache/
.mypy_cache/