Add Docker Compose deployment for UCEPSA order report API
This commit is contained in:
parent
0ed753587b
commit
4e3e3aef1b
@ -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
|
||||
@ -0,0 +1,8 @@
|
||||
.env.local
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
Loading…
x
Reference in New Issue
Block a user