diff --git a/Dockerfile b/Dockerfile index e57b35d67..d5746a8eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,6 +55,9 @@ RUN apk update \ # Copy from build stage COPY --from=builder /out/alpine . +ARG SQUIDEX__VERSION +ENV SQUIDEX__VERSION ${SQUIDEX__VERSION:-dev} + EXPOSE 80 EXPOSE 11111 diff --git a/src/Squidex/appsettings.json b/src/Squidex/appsettings.json index f66f73f51..773dffe65 100644 --- a/src/Squidex/appsettings.json +++ b/src/Squidex/appsettings.json @@ -493,6 +493,6 @@ * A list of configuration valeus that should be exposed from the info endpoint and in the UI. */ "exposedConfiguration": { - "MY_KEY": "MY_VALUE" + "version": "squidex:version" } }