Add observer, prometheus and grafana

This commit is contained in:
2026-04-24 18:20:48 +03:00
parent dad178bd0d
commit e57a2b9768
13 changed files with 1793 additions and 25 deletions

View File

@@ -17,6 +17,7 @@ COPY src/ src/
# Копируем sys.config из src/config/ в config/
COPY src/config/sys.config ./config/sys.config
COPY src/config/vm.args ./config/vm.args
RUN rebar3 as prod release
RUN rebar3 as prod tar
@@ -38,7 +39,9 @@ RUN mkdir -p /app/data && chmod 777 /app/data
WORKDIR /app
EXPOSE 8080 8081 8445 8446
ENV PATH="/app/erts-16.3.1/bin:$PATH"
ENV RELX_REPLACE_OS_VARS=true
ENV MNESIA_DIR=/app/data
CMD ["/app/bin/eventhub", "foreground"]
CMD /app/bin/eventhub foreground