Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb22ef5b3b |
@@ -1,3 +1,6 @@
|
|||||||
[submodule "third_party/userver"]
|
[submodule "third_party/userver"]
|
||||||
path = third_party/userver
|
path = third_party/userver
|
||||||
url = https://github.com/userver-framework/userver.git
|
url = https://github.com/userver-framework/userver.git
|
||||||
|
[submodule "log_analysis_frontend"]
|
||||||
|
path = log_analysis_frontend
|
||||||
|
url = https://gitlab.resds.ru/voloh.ka/log_analysis_frontend.git
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ components_manager:
|
|||||||
|
|
||||||
# Static content
|
# Static content
|
||||||
fs-cache-main:
|
fs-cache-main:
|
||||||
dir: /mnt/c/Users/october/Desktop/dev/python_projects/log_analysis_web/log_analysis_web/site
|
dir: /app/log_analysis_web_backend/log_analysis_frontend
|
||||||
|
|
||||||
handler-static:
|
handler-static:
|
||||||
path: /*
|
path: /*
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ server-port: 8080
|
|||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
storage-database: log_analysis
|
storage-database: log_analysis
|
||||||
storage-host: localhost
|
storage-host: postgres
|
||||||
storage-port: 5432
|
storage-port: 5432
|
||||||
storage-username: postgres
|
storage-username: postgres
|
||||||
storage-password: postgres
|
storage-password: postgres
|
||||||
|
|||||||
+12
-3
@@ -1,8 +1,17 @@
|
|||||||
FROM ubuntu:focal-20240530
|
FROM ubuntu:focal-20240530
|
||||||
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/Moscow"
|
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/Moscow"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apt update && apt install git cmake fmtools python3-venv postgresql libpq-dev libev-dev libyaml-cpp-dev lld openssl libboost-all-dev gcc g++ postgresql pkg-config build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libboost-filesystem-dev -y
|
RUN apt update && apt install git cmake python3-venv postgresql libpq-dev libev-dev libyaml-cpp-dev lld openssl libboost-all-dev gcc g++ postgresql pkg-config build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libboost-filesystem-dev -y
|
||||||
RUN apt install libssl-dev openssl libcrypto++-dev libhttp-parser-dev libnghttp2-dev -y
|
RUN apt install libssl-dev openssl libcrypto++-dev wget ccache libhttp-parser-dev libc-ares-dev libnghttp2-dev golang fmtools libc-ares2 libcctz-dev libssh2-1-dev libfmt-dev -y
|
||||||
COPY ./ /app/
|
COPY ./ /app/
|
||||||
|
RUN wget https://github.com/fmtlib/fmt/archive/refs/tags/10.2.1.tar.gz && \
|
||||||
|
tar -xzf 10.2.1.tar.gz && \
|
||||||
|
cd fmt-10.2.1 && \
|
||||||
|
mkdir build && cd build && \
|
||||||
|
cmake .. && \
|
||||||
|
make -j$(nproc) && \
|
||||||
|
make install && cd /app/ && rm -rf fmt-10.2.1/ && rm 10.2.1.tar.gz
|
||||||
RUN git submodule init && git submodule update
|
RUN git submodule init && git submodule update
|
||||||
RUN cmake /app/
|
RUN cmake -B build-dir -DCMAKE_BUILD_TYPE=Release
|
||||||
|
RUN /usr/bin/cmake --build build-dir/ -j 4
|
||||||
|
CMD /app/build-dir/log_analysis/server/la_server --config configuration.yaml --config_vars configuration_vars.yaml
|
||||||
|
|||||||
Submodule
+1
Submodule log_analysis_frontend added at cbafcf1336
Reference in New Issue
Block a user