Files
mykopkb-fe/docker/docker-compose.production.yml
T
ismailmasseran 9161e3700c
Build Docker Image / build-frontend (push) Successful in 6s
DONE: update cicd
2026-10-25 14:27:38 +08:00

26 lines
614 B
YAML

services:
frontend:
image: git.koppkb.com/kopkb/my-kopkb-fe:${IMAGE_TAG:-latest}
container_name: mykopkb-fe-production
restart: unless-stopped
ports:
- "${FE_PORT:-8081}:80"
networks:
- mykopkb-production-network
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
mykopkb-production-network:
name: mykopkb-production-network
external: true