diff options
author | Liam Fallon <liam.fallon@est.tech> | 2021-11-15 14:23:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-11-15 14:23:30 +0000 |
commit | ce021b10a575c9ec67025ebcfa7a6b2537bb69da (patch) | |
tree | 38deffb4b187496932f65fedf6a19467aa778ec7 /packages/policy-clamp-docker | |
parent | c1b29b86a2c6804de6c7c302cdd103143c1fc617 (diff) | |
parent | 3d8fc9a77081886599cc93acd26105b433770b43 (diff) |
Merge "Add health check, metrics and prometheus endpoints for CL participants"
Diffstat (limited to 'packages/policy-clamp-docker')
3 files changed, 6 insertions, 0 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile b/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile index 9167b226a..01b150bd2 100644 --- a/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile +++ b/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile @@ -46,6 +46,8 @@ RUN chown -R policy:policy * && \ chmod 755 bin/*.sh && \ chown -R policy:policy /app +EXPOSE 6969 + USER policy WORKDIR $POLICY_HOME/bin ENTRYPOINT [ "./controlloop-runtime.sh" ] diff --git a/packages/policy-clamp-docker/src/main/docker/HttpParticipantDockerfile b/packages/policy-clamp-docker/src/main/docker/HttpParticipantDockerfile index 88bf34579..294a59754 100644 --- a/packages/policy-clamp-docker/src/main/docker/HttpParticipantDockerfile +++ b/packages/policy-clamp-docker/src/main/docker/HttpParticipantDockerfile @@ -47,6 +47,8 @@ RUN chown -R policy:policy * && \ chmod 755 bin/*.sh && \ chown -R policy:policy /app +EXPOSE 8084 + USER policy WORKDIR $POLICY_HOME/bin ENTRYPOINT [ "./http-participant.sh" ] diff --git a/packages/policy-clamp-docker/src/main/docker/PolicyParticipantDockerfile b/packages/policy-clamp-docker/src/main/docker/PolicyParticipantDockerfile index 08a731c0c..14f10dd6f 100644 --- a/packages/policy-clamp-docker/src/main/docker/PolicyParticipantDockerfile +++ b/packages/policy-clamp-docker/src/main/docker/PolicyParticipantDockerfile @@ -46,6 +46,8 @@ RUN chown -R policy:policy * && \ chmod 755 bin/*.sh && \ chown -R policy:policy /app +EXPOSE 8085 + USER policy WORKDIR $POLICY_HOME/bin ENTRYPOINT [ "./policy-participant.sh" ] |