-
Service-specific config: http://localhost:8888/{service-name}/{profile}
-
Example: http://localhost:8888/posts/prod, http://localhost:8888/discovery.server/default
Encryption CURL:
curl --location 'http://localhost:8888/encrypt' \ --header 'Content-Type: text/plain' \ --data 'Value to encrypt'
- URL: http://localhost:7777
- Post service shutdown curl:
curl --location --request POST 'http://localhost:3100/actuator/shutdown'
- URL: http://localhost:9999
- All routes: http://localhost:9999/actuator/gateway/routes
All the services has monitoring enabled, see config servers from below:
- Config server actuator monitoring URL(JSON): http://localhost:8888/actuator/metrics
- Config server actuator monitoring URL(PROMETHEUS): http://localhost:8888/actuator/prometheus
cd .\configserver\
docker build -t feeham/micro_forum:config-server-1.2 .
cd ../
docker push feeham/micro_forum:config-server-1.2
cd .\discoveryserver\
docker build -t feeham/micro_forum:discovery-server-1.0 .
cd ../
docker push feeham/micro_forum:discovery-server-1.0
cd .\posts\
docker build -t feeham/micro_forum:posts-1.0 .
cd ../
docker push feeham/micro_forum:posts-1.0
cd .\notification\
docker build -t feeham/micro_forum:notifications-1.0 .
cd ../
docker push feeham/micro_forum:notifications-1.0
cd .\gateway\
docker build -t feeham/micro_forum:gateway-1.0 .
cd ../
docker push feeham/micro_forum:gateway-1.0
cd .\configserver\
docker build -t feeham/micro_forum:config-server-1.2 .
cd ../
cd .\discoveryserver\
docker build -t feeham/micro_forum:discovery-server-1.0 .
cd ../
cd .\posts\
docker build -t feeham/micro_forum:posts-1.0 .
cd ../
cd .\notification\
docker build -t feeham/micro_forum:notifications-1.0 .
cd ../
cd .\gateway\
docker build -t feeham/micro_forum:gateway-1.0 .
cd ../
docker push feeham/micro_forum:config-server-1.0
docker push feeham/micro_forum:discovery-server-1.0
docker push feeham/micro_forum:posts-1.0
docker push feeham/micro_forum:notifications-1.0
docker push feeham/micro_forum:gateway-1.0