Update to 23.0.0

This commit is contained in:
Daniel Berteaud 2024-01-24 11:49:09 +01:00
parent b30d8d6282
commit c14f32e9c9
4 changed files with 9 additions and 6 deletions

View File

@ -17,6 +17,7 @@ job "diagrams" {
sidecar_service {
}
sidecar_task {
resources {
cpu = 50
memory = 64
@ -48,7 +49,7 @@ job "diagrams" {
# Main app router
"traefik.http.routers.diagrams.rule=Host(`draw.example.org`)",
"traefik.http.routers.diagrams.entrypoints=https",
"traefik.http.routers.diagrams.middlewares=diagrams-headers,rate-limit-std@file,inflight-std@file,security-headers@file,hsts@file,compression@file,csp-relaxed@file",
"traefik.http.routers.diagrams.middlewares=diagrams-headers,rate-limit-std@file,inflight-std@file,security-headers@file,hsts@file",
]
}
@ -56,7 +57,7 @@ job "diagrams" {
driver = "docker"
config {
image = "danielberteaud/diagrams:22.1.21-1"
image = "danielberteaud/diagrams:23.0.0-1"
pids_limit = 200
readonly_rootfs = true
volumes = [
@ -113,6 +114,7 @@ _EOT
env = true
}
resources {
cpu = 200
memory = 256

View File

@ -1,8 +1,8 @@
FROM danielberteaud/java:17.24.1-2
FROM danielberteaud/java:17.24.1-8
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
ARG TOMCAT_VERSION=9.0.85 \
DIAGRAMS_VERSION=22.1.21
DIAGRAMS_VERSION=23.0.0
ENV CATALINA_HOME=/opt/tomcat \
TOMCAT_PORT=8282 \

View File

@ -2,7 +2,7 @@ FROM [[ .docker.repo ]][[ .docker.base_images.java17.image ]]
MAINTAINER [[ .docker.maintainer ]]
ARG TOMCAT_VERSION=9.0.85 \
DIAGRAMS_VERSION=22.1.21
DIAGRAMS_VERSION=[[ .diagrams.version ]]
ENV CATALINA_HOME=/opt/tomcat \
TOMCAT_PORT=8282 \

View File

@ -2,7 +2,8 @@
instance: diagrams
diagrams:
image: '[[ .docker.repo ]]diagrams:22.1.21-1'
version: 23.0.0
image: '[[ .docker.repo ]]diagrams:[[ .diagrams.version ]]-1'
env: {}
public_url: https://draw.example.org
traefik: