28 lines
616 B
YAML
28 lines
616 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
kamco-changedetection-api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-dev
|
|
image: kamco-changedetection-api:${IMAGE_TAG:-latest}
|
|
container_name: kamco-changedetection-api
|
|
ports:
|
|
- "7100:8080"
|
|
environment:
|
|
- SPRING_PROFILES_ACTIVE=dev
|
|
- TZ=Asia/Seoul
|
|
networks:
|
|
- plantation-network
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/monitor/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 40s
|
|
|
|
networks:
|
|
plantation-network:
|
|
external: true
|