Commit Graph

16 Commits

Author SHA1 Message Date
Draon con Color
90f71c0d77
feat: add optional BASE_PATH to Docker config (#1378)
Co-authored-by: draoncc <14227820+draoncc@users.noreply.github.com>
Co-authored-by: anastasiia-developer <anastasiia@redocly.com>
2022-04-27 18:40:44 +03:00
Oprysk Vyacheslav
b604bd8da8
fix: exclusiveMin/Max shows incorect range (#1799)
* fix: exclusiveMin/Max shows incorect range

* cover all number range cases & add unit tests

* add more tests

* fix maximum value

* simplify humanizeNumberRange function

* simplify exclusive checks

* Update src/utils/openapi.ts

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>

* update test coverage

* linting

* revert weird prettier changes

* add md files to prettier ignore

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-11-24 16:47:24 +02:00
AlexVarchuk
ad652b9c7f
fix: mobile view in docker image (#1795) 2021-11-23 15:28:02 +02:00
romanhotsiy
f7211ceb08
chore: fix dockerfile 2021-07-20 15:18:21 +03:00
Vincent Leon
8f99cd0882
feat: Dockerfile compatible with OpenShift (#1407) (#1408)
Co-authored-by: Vincent LEON <vincent.leon@amadeus.com>
2020-10-13 14:47:58 +03:00
Daniel Schosser
4512436f1d
fix: add security headers to Docker nginx config (#1244)
* Add security headers to nginx config

Increase the security of the nginx server and the served page, by adding the following security headers to the nginx config:
- X-Frame-Options (Disables click jacking by disallowing the page to be run in a frame/iframe)
- X-XSS-Protection (Enables cross site scripting filtering)
- X-Content-Type-Options (Disables MIME sniffing and forces browser to use the type given in Content-Type.)
- Content-Security-Policy (Controls resources the user agent is allowed to load for a given page.)
- Referrer-Policy (Governs which referrer information sent in the Referer header should be included with requests made.)

Additional headers that could be added optionally:
- Strict-Transport-Security (Enforce HTTPS over HTTP)
2020-05-14 10:33:09 +03:00
Neel Kamath
63ec3d120c
Update README.md (#1130) 2020-05-09 14:32:27 +03:00
Roman Hotsiy
a24142b3fa
chore: migrate yarn -> npm 2020-03-17 11:06:03 +02:00
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +02:00
Roman Hotsiy
d78029a04e
chore: move repo to Redocly org 2019-06-04 15:47:22 +03:00
Julian
2013973d75 docs: Fixed docker README, added missing redocly repo name (#841) 2019-03-11 09:32:55 +02:00
DeBr0glie
1bbb0fe679 docker: Incorrect port after restart when PORT is 8080 (#776)
When PORT is 8080 and dokcer restart, nginx will listen 80808080
2019-01-10 10:06:51 +02:00
neumond
cfb6f0fde0 fix: allow docker container serving under non-root URLs (#731)
fixes #730
2018-12-11 15:27:12 +02:00
Roman Hotsiy
ebe8d3f68c
chore: use docker build hook to use Dockerfile from other location
[ci skip]
2018-11-06 16:56:56 +02:00
Roman Hotsiy
07b5e62897
chore: move Dockerfile to config/docker 2018-11-06 15:30:04 +02:00
Zach Pomerantz
cddfb12806 chore: Add Dockerfile for easier deployment (#427) 2018-06-25 14:10:29 +03:00