cd docker/nginx
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./ssl/demo.key -out ./ssl/demo.crt
Make sure to set common name to app.demo.hr when generating certificate
.\mvnw -DskipTests clean install
docker compose up -d
Navigate to:
https://app.demo.hr
To view dashboard navigate to:
http://localhost:3000
Navigate to service yml file to view current configuration:
http://localhost:8888/api-gateway.yml
Replace DEBUG level with INFO in api-gateway.yml:
docker exec -it config-server /bin/bash
cd root/configurations
sed -i 's/DEBUG/INFO/' api-gateway.yml
exit
Refresh configuration of api-gateway:
curl -X POST http://localhost:8080/actuator/refresh