From a2b3f5bd6a5d417e31ac8d50474181f6eb6a8d19 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 3 Oct 2024 18:06:46 +0200 Subject: [PATCH] add search enterprise all-in-one context --- search/enterprise/all-in-one/Dockerfile | 13 +++++++++++++ search/enterprise/all-in-one/artifacts.json | 14 ++++++++++++++ search/enterprise/all-in-one/entrypoint.sh | 3 +++ 3 files changed, 30 insertions(+) create mode 100644 search/enterprise/all-in-one/Dockerfile create mode 100644 search/enterprise/all-in-one/artifacts.json create mode 100755 search/enterprise/all-in-one/entrypoint.sh diff --git a/search/enterprise/all-in-one/Dockerfile b/search/enterprise/all-in-one/Dockerfile new file mode 100644 index 00000000..af9c5669 --- /dev/null +++ b/search/enterprise/all-in-one/Dockerfile @@ -0,0 +1,13 @@ +FROM java_base + +ARG LIVEINDEXING +ENV PORT=8080 +EXPOSE 8080 + +ADD ${LIVEINDEXING}*-app.jar /opt/app.jar + +HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=1m \ + CMD curl -f http://localhost:8080/actuator/health || exit 1 + +COPY entrypoint.sh /entrypoint.sh +CMD ["/entrypoint.sh"] diff --git a/search/enterprise/all-in-one/artifacts.json b/search/enterprise/all-in-one/artifacts.json new file mode 100644 index 00000000..cfcb4427 --- /dev/null +++ b/search/enterprise/all-in-one/artifacts.json @@ -0,0 +1,14 @@ +{ + "artifacts": { + "acs23": [ + { + "name": "alfresco-elasticsearch-live-indexing", + "version": "4.0.1", + "path": "search/enterprise/all-in-one", + "classifier": "-app.jar", + "repository": "enterprise-releases", + "group": "org.alfresco" + } + ] + } +} diff --git a/search/enterprise/all-in-one/entrypoint.sh b/search/enterprise/all-in-one/entrypoint.sh new file mode 100755 index 00000000..618a57dc --- /dev/null +++ b/search/enterprise/all-in-one/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exec java $JAVA_OPTS -jar /opt/app.jar