portal/docker-compose.yml

10 lines
301 B
YAML

services:
portal:
build: .
ports:
- "${FRONTEND_PORT:-3000}:80"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost/health 2>/dev/null || wget -qO- http://localhost/ > /dev/null && echo ok || exit 1"]
interval: 15s
retries: 3