Skip to content

Commit

Permalink
Merge pull request #2386 from amvanbaren/resource-attributes
Browse files Browse the repository at this point in the history
Configure resource attributes
  • Loading branch information
amvanbaren authored Feb 22, 2024
2 parents 8998359 + 025bf56 commit 5029ee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN /usr/bin/yarn --cwd website \
&& /usr/bin/yarn --cwd website build

# Main image derived from openvsx-server
FROM docker.io/amvanbaren/openvsx-server:1c54327
FROM docker.io/amvanbaren/openvsx-server:7dc8233

COPY --from=builder --chown=openvsx:openvsx /workdir/website/static/ BOOT-INF/classes/static/
COPY --from=builder --chown=openvsx:openvsx /workdir/configuration/ config/
Expand Down
8 changes: 3 additions & 5 deletions configuration/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ management:
health:
probes:
enabled: true
metrics:
tags:
application: ${spring.application.name}
environment: ${ENVNAME}
instance: ${HOSTNAME}
endpoints:
web:
exposure:
Expand Down Expand Up @@ -167,3 +162,6 @@ ovsx:
seconds: 300
integrity:
key-pair: create
metrics:
environment: ${ENVNAME}
instance: ${HOSTNAME}

0 comments on commit 5029ee0

Please sign in to comment.