Skip to content

Commit

Permalink
Merge pull request #3132 from amvanbaren/test-07617750
Browse files Browse the repository at this point in the history
test 07617750
  • Loading branch information
amvanbaren authored Nov 19, 2024
2 parents 97f5540 + 92ccea4 commit 9dcaae8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG SERVER_VERSION=v0.19.0
ARG SERVER_VERSION=07617750

# Builder image to compile the website
FROM ubuntu AS builder
Expand Down Expand Up @@ -27,7 +27,8 @@ RUN /usr/bin/yarn --cwd website \
&& /usr/bin/yarn --cwd website build

# Main image derived from openvsx-server
FROM ghcr.io/eclipse/openvsx-server:${SERVER_VERSION}
#FROM ghcr.io/eclipse/openvsx-server:${SERVER_VERSION}
FROM docker.io/amvanbaren/openvsx-server:${SERVER_VERSION}
ARG SERVER_VERSION

COPY --from=builder --chown=openvsx:openvsx /workdir/website/static/ BOOT-INF/classes/static/
Expand Down
36 changes: 36 additions & 0 deletions configuration/ehcache.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,40 @@
<disk unit="MB">8</disk>
</resources>
</cache>
<cache alias="files.webresource">
<expiry>
<tti unit="minutes">5</tti>
</expiry>
<listeners>
<listener>
<class>org.eclipse.openvsx.cache.ExpiredFileListener</class>
<event-firing-mode>ASYNCHRONOUS</event-firing-mode>
<event-ordering-mode>UNORDERED</event-ordering-mode>
<events-to-fire-on>EXPIRED</events-to-fire-on>
<events-to-fire-on>EVICTED</events-to-fire-on>
<events-to-fire-on>REMOVED</events-to-fire-on>
</listener>
</listeners>
<resources>
<heap>150</heap>
</resources>
</cache>
<cache alias="files.extension">
<expiry>
<tti unit="minutes">5</tti>
</expiry>
<listeners>
<listener>
<class>org.eclipse.openvsx.cache.ExpiredFileListener</class>
<event-firing-mode>ASYNCHRONOUS</event-firing-mode>
<event-ordering-mode>UNORDERED</event-ordering-mode>
<events-to-fire-on>EXPIRED</events-to-fire-on>
<events-to-fire-on>EVICTED</events-to-fire-on>
<events-to-fire-on>REMOVED</events-to-fire-on>
</listener>
</listeners>
<resources>
<heap>20</heap>
</resources>
</cache>
</config>

0 comments on commit 9dcaae8

Please sign in to comment.