Browse Source

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

Swagger does not work on Tb Demo
pull/10694/head
Viacheslav Klimov 2 years ago
committed by GitHub
parent
commit
605fbd7b19
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      msa/tb-node/docker/Dockerfile

3
msa/tb-node/docker/Dockerfile

@ -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) && \

Loading…
Cancel
Save