Merge pull request #10615 from YevhenBondarenko/fix/swagger-https

Swagger does not work on Tb Demo
This commit is contained in:
Viacheslav Klimov 2024-05-01 17:53:29 +03:00 committed by GitHub
commit 605fbd7b19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,6 +18,9 @@ FROM thingsboard/openjdk17:bookworm-slim
COPY start-tb-node.sh ${pkg.name}.deb /tmp/
# Required for SWAGGER UI when reverse proxy is used
ENV HTTP_FORWARD_HEADERS_STRATEGY=framework
RUN chmod a+x /tmp/*.sh \
&& mv /tmp/start-tb-node.sh /usr/bin && \
(yes | dpkg -i /tmp/${pkg.name}.deb) && \