-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to the windows dev setup script and docker-compose #6402
Open
aaronlippold
wants to merge
558
commits into
master
Choose a base branch
from
setup-help
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
558 commits
Select commit
Hold shift + click to select a range
e1e9d5d
SBOM Mapper (#5986)
charleshu-8 ba80c10
Bump @types/node from 22.3.0 to 22.4.1
dependabot[bot] 5bf051a
Bump sass-loader from 16.0.0 to 16.0.1
dependabot[bot] 23389ef
Bump typedoc from 0.26.5 to 0.26.6
dependabot[bot] ca07396
Bump @types/sanitize-html from 2.11.0 to 2.13.0
dependabot[bot] d2c0921
Bump @nestjs/schematics from 10.1.3 to 10.1.4
dependabot[bot] ec7eee5
v2.10.15 release preparation
georgedias fe25820
v2.10.15
georgedias 5e7761c
Bump @aws-sdk/client-s3 from 3.633.0 to 3.635.0
dependabot[bot] 043890e
Bump core-js from 3.38.0 to 3.38.1
dependabot[bot] 24034e5
Bump @aws-sdk/client-config-service from 3.632.0 to 3.635.0
dependabot[bot] f49ee8b
Bump @types/node from 22.4.1 to 22.5.0
dependabot[bot] 45fef78
Bump @aws-sdk/client-sts from 3.635.0 to 3.637.0
dependabot[bot] 1f192fa
Bump @aws-sdk/client-s3 from 3.635.0 to 3.637.0
dependabot[bot] 2f6b1b0
Bump ts-jest from 29.2.4 to 29.2.5
dependabot[bot] 63a5203
Bump @aws-sdk/client-config-service from 3.635.0 to 3.637.0
dependabot[bot] 2256303
Bump axios from 1.7.4 to 1.7.5
dependabot[bot] 26e8bf6
Bump @types/multer from 1.4.11 to 1.4.12
dependabot[bot] 7b92daf
Bump tsx from 4.17.0 to 4.18.0
dependabot[bot] 0298d3f
Bump @types/validator from 13.12.0 to 13.12.1
dependabot[bot] 2ff7fed
Bump @types/node from 22.5.0 to 22.5.1
dependabot[bot] ff3d64a
Bump tsx from 4.18.0 to 4.19.0
dependabot[bot] 0604bf1
Bump cypress from 13.13.3 to 13.14.0
dependabot[bot] ec87b06
Bump @types/diff from 5.2.1 to 5.2.2
dependabot[bot] 950f956
Bump rexml from 3.3.3 to 3.3.6 in /libs/inspecjs (#6128)
dependabot[bot] 93942bf
updateTenableContentSecurityPolicy (#6135)
georgedias b5b9afa
Bump cypress from 13.14.0 to 13.14.1
dependabot[bot] 5accaf8
Bump apexcharts from 3.52.0 to 3.53.0
dependabot[bot] fe62570
Bump axios from 1.7.5 to 1.7.6
dependabot[bot] 752fe15
Bump axios from 1.7.6 to 1.7.7
dependabot[bot] 584a9b7
Bump @types/node from 22.5.1 to 22.5.2
dependabot[bot] 915c499
Bump diff from 5.2.0 to 6.0.0
dependabot[bot] 0bf3f70
Bump @nestjs/cli from 10.4.4 to 10.4.5
dependabot[bot] 2068305
Bump fast-xml-parser from 4.4.1 to 4.5.0
dependabot[bot] 0252f1a
Bump eslint-plugin-vue from 9.27.0 to 9.28.0
dependabot[bot] 423039f
Bump @aws-sdk/client-sts from 3.637.0 to 3.645.0
dependabot[bot] a9cdd2e
Bump @aws-sdk/client-config-service from 3.637.0 to 3.645.0
dependabot[bot] 305005f
Bump yaml from 2.5.0 to 2.5.1
dependabot[bot] da292b4
Bump diff from 6.0.0 to 7.0.0
dependabot[bot] ff79d08
Bump cypress from 13.14.1 to 13.14.2
dependabot[bot] ed89b63
Bump eslint-plugin-import from 2.29.1 to 2.30.0
dependabot[bot] a6fbe2e
Bump @types/node from 22.5.2 to 22.5.4
dependabot[bot] a2a7798
Bump @smithy/node-http-handler from 3.1.4 to 3.2.0
dependabot[bot] 2c4af01
Bump @aws-sdk/client-s3 from 3.637.0 to 3.645.0
dependabot[bot] 72b5237
Bump express from 4.19.2 to 4.20.0
dependabot[bot] dd4c2bd
Bump express from 4.19.2 to 4.20.0
dependabot[bot] 18d4146
Bump typedoc from 0.26.6 to 0.26.7
dependabot[bot] 2b9a5ef
Bump sinon from 18.0.0 to 18.0.1
dependabot[bot] cc74563
Bump @aws-sdk/client-sts from 3.645.0 to 3.649.0
dependabot[bot] 6f568a0
Bump @aws-sdk/client-config-service from 3.645.0 to 3.649.0
dependabot[bot] 9710556
Bump @aws-sdk/client-s3 from 3.645.0 to 3.649.0
dependabot[bot] 98e80a3
Replace @cyclonedx/cyclonedx-library's internal types with cyclonedx …
Amndeep7 2a525c8
Bump @aws-sdk/client-s3 from 3.649.0 to 3.650.0
dependabot[bot] edf757e
Bump tailwindcss from 3.4.10 to 3.4.11
dependabot[bot] bf09d62
Bump express from 4.20.0 to 4.21.0
dependabot[bot] a678e8e
Bump @aws-sdk/client-config-service from 3.649.0 to 3.650.0
dependabot[bot] 43f9720
updated tailwind styles
Amndeep7 3a88e17
updated caniuse browsers db
Amndeep7 a73f420
prep for 2.10.16
Amndeep7 cac58c6
v2.10.16
Amndeep7 aa75d1d
Bump tsx from 4.19.0 to 4.19.1
dependabot[bot] 8415051
Bump @aws-sdk/client-s3 from 3.650.0 to 3.651.0
dependabot[bot] 2c133e0
Bump sinon from 18.0.1 to 19.0.0
dependabot[bot] e7db2d2
Bump @aws-sdk/client-s3 from 3.651.0 to 3.651.1
dependabot[bot] fc9d785
Bump @smithy/node-http-handler from 3.2.0 to 3.2.2
dependabot[bot] 528761a
Bump connect-pg-simple from 9.0.1 to 10.0.0
dependabot[bot] bc12fba
Bump @aws-sdk/client-config-service from 3.650.0 to 3.651.1
dependabot[bot] c32af05
Bump sinon from 19.0.0 to 19.0.2
dependabot[bot] 2cd2b2e
Anchore Grype Mapper (#6117)
andytang99 deb34a4
prpe for 2.10.17
Amndeep7 a13f42c
v2.10.17
Amndeep7 7b52a4b
updated gh action for ghpages
Amndeep7 94921eb
readme and front end modal (#6186)
andytang99 70a9c07
prep for 2.10.18
Amndeep7 eaf484b
v2.10.18
Amndeep7 0429807
Bump @nestjs/testing from 10.4.1 to 10.4.2
dependabot[bot] 8a62537
Bump @nestjs/core from 10.4.1 to 10.4.2
dependabot[bot] 0421cd0
Bump @nestjs/platform-express from 10.4.1 to 10.4.2
dependabot[bot] 0254563
Bump date-fns from 3.6.0 to 4.0.0
dependabot[bot] 8cf0b52
Bump @nestjs/common from 10.4.1 to 10.4.2
dependabot[bot] c7e354c
Bump @types/node from 22.5.4 to 22.5.5
dependabot[bot] c1d17ac
Bump eslint from 8.57.0 to 8.57.1
dependabot[bot] 0436b8d
Bump @types/validator from 13.12.1 to 13.12.2
dependabot[bot] dc6c152
Bump date-fns from 4.0.0 to 4.1.0
dependabot[bot] 30f8d40
Bump @nestjs/testing from 10.4.2 to 10.4.3
dependabot[bot] 222eca5
Bump pg from 8.12.0 to 8.13.0
dependabot[bot] 37ab3d4
Bump tailwindcss from 3.4.11 to 3.4.12
dependabot[bot] 2213ee0
Bump @nestjs/platform-express from 10.4.2 to 10.4.3
dependabot[bot] f468212
Bump @nestjs/common from 10.4.2 to 10.4.3
dependabot[bot] fdc9b8b
Bump @nestjs/core from 10.4.2 to 10.4.3
dependabot[bot] 77be06c
Bump @aws-sdk/client-sts from 3.651.1 to 3.654.0
dependabot[bot] 3e7c66c
Bump @aws-sdk/client-s3 from 3.651.1 to 3.654.0
dependabot[bot] 3ac62b6
Bump @aws-sdk/client-config-service from 3.651.1 to 3.654.0
dependabot[bot] bd988bf
Bump @smithy/node-http-handler from 3.2.2 to 3.2.3
dependabot[bot] c32a3d3
Bump prettier-plugin-organize-imports from 4.0.0 to 4.1.0
dependabot[bot] d0910ae
Bump sass-loader from 16.0.1 to 16.0.2
dependabot[bot] 558ed55
Bump @types/node from 22.5.5 to 22.6.1
dependabot[bot] d4f5fe0
Bump @types/lodash from 4.17.7 to 4.17.9
dependabot[bot] ec6df9e
Bump @nestjs/common from 10.4.3 to 10.4.4
dependabot[bot] 3d008b4
Bump tailwindcss from 3.4.12 to 3.4.13
dependabot[bot] 5de68a0
Bump @nestjs/core from 10.4.3 to 10.4.4
dependabot[bot] 5d98f9b
Bump @nestjs/testing from 10.4.3 to 10.4.4
dependabot[bot] 5c23054
Bump @aws-sdk/client-s3 from 3.654.0 to 3.657.0
dependabot[bot] 99be980
Bump @nestjs/platform-express from 10.4.3 to 10.4.4
dependabot[bot] 3ad5752
Bump @aws-sdk/client-config-service from 3.654.0 to 3.658.0
dependabot[bot] b3dde3c
Bump @types/node from 22.6.1 to 22.7.0
dependabot[bot] 811210d
Bump @aws-sdk/client-s3 from 3.657.0 to 3.658.0
dependabot[bot] 4a02719
Bump @aws-sdk/client-config-service from 3.658.0 to 3.658.1
dependabot[bot] 4291480
Bump cypress from 13.14.2 to 13.15.0
dependabot[bot] 609a27d
Bump @types/node from 22.7.0 to 22.7.2
dependabot[bot] 97d3906
Bump @types/express from 4.17.21 to 5.0.0
dependabot[bot] 937d75c
Bump @aws-sdk/client-s3 from 3.658.0 to 3.658.1
dependabot[bot] 0d4ff1b
Bump @types/node from 22.7.2 to 22.7.3
dependabot[bot] 7098e3d
Bump mock-fs from 5.2.0 to 5.3.0
dependabot[bot] d7c23a4
Neuvector mapper (#6195)
jtquach1 a0d41e7
prep for 2.10.19
Amndeep7 2552add
v2.10.19
Amndeep7 5490d6b
Bump @types/node from 22.7.3 to 22.7.4
dependabot[bot] db9832f
README as of 6e4acd400c1a18e45b0cc936aafdc1a7a4d82524 in https://gith…
Amndeep7 0e71953
Backend improvements (#6234)
Amndeep7 14654d4
Bump helmet from 7.1.0 to 8.0.0
dependabot[bot] 7fd0e3e
Bump @smithy/node-http-handler from 3.2.3 to 3.2.4
dependabot[bot] 0d3f95b
Bump @aws-sdk/client-sts from 3.658.1 to 3.662.0
dependabot[bot] 7975eb5
Bump @aws-sdk/client-config-service from 3.658.1 to 3.662.0
dependabot[bot] 6d97739
Bump @aws-sdk/client-s3 from 3.658.1 to 3.662.0
dependabot[bot] bf4d2c7
Create anchore-syft.yml
aaronlippold 3f34b1d
Bump @aws-sdk/client-config-service from 3.662.0 to 3.664.0
dependabot[bot] 84b6a9c
Bump @aws-sdk/client-s3 from 3.662.0 to 3.664.0
dependabot[bot] 0e13cb0
Bump @types/lodash from 4.17.9 to 4.17.10
dependabot[bot] 37d61d8
Bump sanitize-html from 2.13.0 to 2.13.1
dependabot[bot] b04cba8
Bump eslint-plugin-import from 2.30.0 to 2.31.0
dependabot[bot] b45941a
Bump @aws-sdk/client-config-service from 3.664.0 to 3.665.0
dependabot[bot] 976c99b
Bump @aws-sdk/client-s3 from 3.664.0 to 3.665.0
dependabot[bot] cb2f021
Bump sequelize from 6.37.3 to 6.37.4
dependabot[bot] 9e93b2a
Bump express-rate-limit from 7.4.0 to 7.4.1
dependabot[bot] e90641c
Bump typedoc from 0.26.7 to 0.26.8
dependabot[bot] af3cecd
Bump @aws-sdk/client-s3 from 3.665.0 to 3.666.0
dependabot[bot] caaaade
Bump @types/node from 22.7.4 to 22.7.5
dependabot[bot] 827ea1d
Bump winston from 3.14.2 to 3.15.0
dependabot[bot] 3f52e9a
Bump @types/diff from 5.2.2 to 5.2.3
dependabot[bot] 3d3d6bc
Bump @aws-sdk/client-config-service from 3.665.0 to 3.667.0
dependabot[bot] 77cbefe
Bump @aws-sdk/client-s3 from 3.666.0 to 3.667.0
dependabot[bot] 7c3e5da
Bump express from 4.21.0 to 4.21.1
dependabot[bot] 2f84a9c
Bump @aws-sdk/client-config-service from 3.667.0 to 3.668.0
dependabot[bot] 95e6c3b
Bump express-session from 1.18.0 to 1.18.1
dependabot[bot] 644d377
Bump @aws-sdk/client-s3 from 3.667.0 to 3.668.0
dependabot[bot] d3b5513
Bump @aws-sdk/client-config-service from 3.668.0 to 3.669.0
dependabot[bot] 53412c3
Bump @aws-sdk/client-s3 from 3.668.0 to 3.669.0
dependabot[bot] 3b20aa1
Bump @aws-sdk/client-config-service from 3.669.0 to 3.670.0
dependabot[bot] 12a7309
Bump mock-fs from 5.3.0 to 5.4.0
dependabot[bot] ef30f3b
Bump typedoc from 0.26.8 to 0.26.9
dependabot[bot] 305a2fc
Bump eslint-plugin-vue from 9.28.0 to 9.29.0
dependabot[bot] 1839151
Bump eslint-plugin-cypress from 3.5.0 to 3.6.0
dependabot[bot] d7615b4
Bump @aws-sdk/client-s3 from 3.669.0 to 3.670.0
dependabot[bot] 4ad907e
Bump yaml from 2.5.1 to 2.6.0
dependabot[bot] 072315c
Bump @nestjs/schematics from 10.1.4 to 10.2.0
dependabot[bot] d10ae98
Bump @nestjs/core from 10.4.4 to 10.4.5
dependabot[bot] 262682c
Bump @types/node from 22.7.5 to 22.7.6
dependabot[bot] a685110
Bump @nestjs/common from 10.4.4 to 10.4.5
dependabot[bot] 3c5ded8
Bump typedoc from 0.26.9 to 0.26.10
dependabot[bot] 17a57e4
Bump @aws-sdk/client-s3 from 3.670.0 to 3.673.0
dependabot[bot] d546dca
Bump @nestjs/testing from 10.4.4 to 10.4.5
dependabot[bot] b02614c
Bump tailwindcss from 3.4.13 to 3.4.14
dependabot[bot] 626012d
Bump @nestjs/platform-express from 10.4.4 to 10.4.5
dependabot[bot] fd11a98
Bump @nestjs/schematics from 10.2.0 to 10.2.2
dependabot[bot] 7350ab0
Bump @aws-sdk/client-s3 from 3.673.0 to 3.674.0
dependabot[bot] 8a1abdb
Bump @aws-sdk/client-sts from 3.670.0 to 3.675.0
dependabot[bot] c9243d4
Bump @types/lodash from 4.17.10 to 4.17.11
dependabot[bot] 9c6aaec
Bump @types/papaparse from 5.3.14 to 5.3.15
dependabot[bot] 881c896
Bump @aws-sdk/client-s3 from 3.674.0 to 3.675.0
dependabot[bot] 381e72a
Bump eslint-plugin-vue from 9.29.0 to 9.29.1
dependabot[bot] b27db9b
Bump @aws-sdk/client-config-service from 3.670.0 to 3.675.0
dependabot[bot] 8ae0796
Bump @aws-sdk/client-s3 from 3.675.0 to 3.676.0
dependabot[bot] c4099bd
Bump @smithy/node-http-handler from 3.2.4 to 3.2.5
dependabot[bot] 6ef29c7
Bump @types/node from 22.7.6 to 22.7.7
dependabot[bot] 7b62425
Bump @types/node from 22.7.7 to 22.7.8
dependabot[bot] 9099e98
Bump http-proxy-middleware from 2.0.6 to 2.0.7
dependabot[bot] d6d1124
Bump @types/lodash from 4.17.11 to 4.17.12
dependabot[bot] bc0d0bb
Bump @aws-sdk/client-config-service from 3.675.0 to 3.677.0
dependabot[bot] 7de62b1
Dependency track mapper (#6307)
Amndeep7 e961fae
Bump @types/express-rate-limit from 6.0.0 to 6.0.2
dependabot[bot] d32879b
Bump @aws-sdk/client-config-service from 3.677.0 to 3.678.0
dependabot[bot] f552a9b
Bump @nestjs/core from 10.4.5 to 10.4.6
dependabot[bot] b56155c
Bump @aws-sdk/client-s3 from 3.676.0 to 3.678.0
dependabot[bot] e28899d
Bump @types/node from 22.7.8 to 22.7.9
dependabot[bot] 0a605cb
Bump @nestjs/testing from 10.4.5 to 10.4.6
dependabot[bot] b721b5b
Bump @nestjs/common from 10.4.5 to 10.4.6
dependabot[bot] fc91a32
Bump @nestjs/platform-express from 10.4.5 to 10.4.6
dependabot[bot] d554233
Update built frontend style.css
jtquach1 f0b6993
Update CHANGELOG and VERSION
jtquach1 dedef6c
v2.10.20
jtquach1 32c08ff
Bump @types/prismjs from 1.26.4 to 1.26.5
dependabot[bot] 099dd81
Bump cypress from 13.15.0 to 13.15.1
dependabot[bot] 53ec006
Bump pg from 8.13.0 to 8.13.1
dependabot[bot] 5755f97
Bump @aws-sdk/client-s3 from 3.678.0 to 3.679.0
dependabot[bot] 028ec97
Bump @aws-sdk/client-config-service from 3.678.0 to 3.679.0
dependabot[bot] 5cd20d2
Bump sequelize from 6.37.4 to 6.37.5
dependabot[bot] bb1a8a1
Bump rexml from 3.3.6 to 3.3.9 in /libs/inspecjs
dependabot[bot] f1c3645
Bump elliptic from 6.5.7 to 6.6.0
dependabot[bot] 4af8aa0
Bump @types/node from 22.7.9 to 22.8.1
dependabot[bot] 1a5d9e2
Bump @nestjs/schematics from 10.2.2 to 10.2.3
dependabot[bot] cbbd670
Bump tsx from 4.19.1 to 4.19.2
dependabot[bot] f2d4a7b
Fix email addresses
Amndeep7 179c5c1
Bump @aws-sdk/client-s3 from 3.679.0 to 3.682.0
dependabot[bot] e7fe19f
Bump uuid from 10.0.0 to 11.0.2
dependabot[bot] c238d2d
Bump @types/lodash from 4.17.12 to 4.17.13
dependabot[bot] 637af96
Bump @types/node from 22.8.1 to 22.8.4
dependabot[bot] a0cdc14
Bump eslint-plugin-vue from 9.29.1 to 9.30.0
dependabot[bot] 9765b3f
Bump @aws-sdk/client-config-service from 3.679.0 to 3.682.0
dependabot[bot] 412ea66
Bump @casl/ability from 6.7.1 to 6.7.2
dependabot[bot] 0873f66
Bump sass-loader from 16.0.2 to 16.0.3
dependabot[bot] a501da6
Bump core-js from 3.38.1 to 3.39.0
dependabot[bot] a404795
Bump @types/node from 22.8.4 to 22.8.6
dependabot[bot] 38e0685
Bump mock-fs from 5.4.0 to 5.4.1
dependabot[bot] 267cd16
Bump lerna from 8.1.8 to 8.1.9
dependabot[bot] 18f0554
Bump typedoc from 0.26.10 to 0.26.11
dependabot[bot] 2a07fc6
Bump @aws-sdk/client-s3 from 3.682.0 to 3.685.0
dependabot[bot] 75fd9f1
Bump winston from 3.15.0 to 3.16.0
dependabot[bot] 9c2c5be
Bump @types/node from 22.8.6 to 22.9.0
dependabot[bot] 5251c55
Bump @nestjs/cli from 10.4.5 to 10.4.7
dependabot[bot] 4f8dd8f
Bump cypress from 13.15.1 to 13.15.2
dependabot[bot] 518b767
Bump @nestjs/core from 10.4.6 to 10.4.7
dependabot[bot] 35ee290
Bump @nestjs/platform-express from 10.4.6 to 10.4.7
dependabot[bot] 80c4414
Bump @nestjs/common from 10.4.6 to 10.4.7
dependabot[bot] e3e85a4
Bump @nestjs/testing from 10.4.6 to 10.4.7
dependabot[bot] cbe153b
Bump @types/vuelidate from 0.7.21 to 0.7.22
dependabot[bot] 2b72ad9
Bump @aws-sdk/client-config-service from 3.682.0 to 3.687.0
dependabot[bot] aaa11a8
Bump @aws-sdk/client-s3 from 3.685.0 to 3.688.0
dependabot[bot] 4ebc7b2
Bump uuid from 11.0.2 to 11.0.3
dependabot[bot] 83ccfc5
Bump @aws-sdk/client-s3 from 3.688.0 to 3.689.0
dependabot[bot] b9495f8
Bump eslint-plugin-vue from 9.30.0 to 9.31.0
dependabot[bot] b6346e4
Bump @aws-sdk/client-s3 from 3.689.0 to 3.691.0
dependabot[bot] 3022930
Bump winston from 3.16.0 to 3.17.0
dependabot[bot] 13ffe6a
Bump @smithy/node-http-handler from 3.2.5 to 3.3.1
dependabot[bot] c842854
Bump tailwindcss from 3.4.14 to 3.4.15
dependabot[bot] 998671c
Bump @aws-sdk/client-sts from 3.691.0 to 3.692.0
dependabot[bot] 5837abc
Bump @aws-sdk/client-config-service from 3.687.0 to 3.692.0
dependabot[bot] 4ac71b0
Bump @nestjs/core from 10.4.7 to 10.4.8
dependabot[bot] 99d0a17
Bump @aws-sdk/client-config-service from 3.692.0 to 3.693.0
dependabot[bot] 043a0cb
Bump @nestjs/platform-express from 10.4.7 to 10.4.8
dependabot[bot] 39577e8
Bump @nestjs/common from 10.4.7 to 10.4.8
dependabot[bot] 72e52e4
Bump dotenv-cli from 7.4.2 to 7.4.3
dependabot[bot] d128ee6
Bump yaml from 2.6.0 to 2.6.1
dependabot[bot] 6165449
Bump @nestjs/testing from 10.4.7 to 10.4.8
dependabot[bot] 89ae525
Bump @aws-sdk/client-config-service from 3.693.0 to 3.696.0
dependabot[bot] e0666ff
Bump @types/node from 22.9.0 to 22.9.1
dependabot[bot] 7caa03f
Bump @aws-sdk/client-s3 from 3.691.0 to 3.696.0
dependabot[bot] 50d1b57
Bump cypress from 13.15.2 to 13.16.0
dependabot[bot] be86d28
updated docker compose and created new docker compose for possible im…
aaronlippold d64d372
Merge branch 'master' into setup-help
aaronlippold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
version: '3.8' | ||
|
||
services: | ||
database: | ||
image: postgres:13 | ||
platform: linux/x86_64 | ||
restart: unless-stopped | ||
healthcheck: | ||
test: ["CMD-SHELL", "pg_isready -U postgres"] | ||
interval: 30s | ||
timeout: 60s | ||
retries: 5 | ||
start_period: 80s | ||
volumes: | ||
- ./data:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_DB=heimdall-server-production | ||
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password | ||
- PGDATA=/var/lib/postgresql/data/pgdata | ||
expose: | ||
- "5432" | ||
secrets: | ||
- db_password | ||
|
||
certs: | ||
image: registry.access.redhat.com/ubi8/ubi:latest | ||
platform: linux/x86_64 | ||
restart: unless-stopped | ||
command: sh -c "sh /etc/pki/ca-trust/source/anchors/dodcerts.sh && update-ca-trust && tail -f /dev/null" | ||
volumes: | ||
- type: volume | ||
source: cert_bundles | ||
target: /etc/pki/ca-trust/extracted/ | ||
- type: bind | ||
source: ./certs/ | ||
target: /etc/pki/ca-trust/source/anchors/ | ||
|
||
server: | ||
image: mitre/heimdall2:latest | ||
platform: linux/x86_64 | ||
restart: unless-stopped | ||
environment: | ||
- NODE_ENV=production | ||
- DATABASE_HOST=database | ||
- DATABASE_PASSWORD_FILE=/run/secrets/db_password | ||
- JWT_SECRET=${JWT_SECRET} | ||
- API_KEY_SECRET=${API_KEY_SECRET} | ||
env_file: .env | ||
ports: | ||
- "3000:3000" | ||
volumes: | ||
- type: volume | ||
source: cert_bundles | ||
target: /etc/pki/ca-trust/extracted/ | ||
read_only: true | ||
volume: | ||
nocopy: true | ||
depends_on: | ||
database: | ||
condition: service_healthy | ||
secrets: | ||
- db_password | ||
|
||
nginx: | ||
image: nginx:alpine | ||
platform: linux/x86_64 | ||
environment: | ||
NGINX_HOST: ${NGINX_HOST} | ||
volumes: | ||
- ./nginx/conf/:/etc/nginx/templates/ | ||
- ./nginx/certs/:/etc/nginx/cert/ | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
depends_on: | ||
- server | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl -f http://localhost || exit 1"] | ||
interval: 30s | ||
timeout: 10s | ||
retries: 3 | ||
|
||
volumes: | ||
cert_bundles: | ||
|
||
secrets: | ||
db_password: | ||
file: ./secrets/db_password.txt | ||
|
||
# Instructions: | ||
# 1. Create a file named 'db_password.txt' in the './secrets/' directory and put the database password in it. | ||
# Example content of 'db_password.txt': | ||
# mysecretpassword | ||
# | ||
# 2. Ensure that the './secrets/db_password.txt' file is located in the 'secrets' directory relative to your 'docker-compose.yml' file. | ||
# | ||
# 3. Define the following environment variables in a '.env' file or export them in your shell: | ||
# - JWT_SECRET: The secret key for JWT. | ||
# - API_KEY_SECRET: The secret key for API keys. | ||
# - NGINX_HOST: The hostname or IP address for the Nginx server. | ||
# | ||
# Example content of '.env': | ||
# JWT_SECRET=your_jwt_secret | ||
# API_KEY_SECRET=your_api_key_secret | ||
# NGINX_HOST=your_nginx_host | ||
# | ||
# 4. Use named volumes ('cert_bundles') for better management. | ||
# | ||
# 5. The 'certs' service updates the CA trust store with custom certificates. | ||
# | ||
# 6. The 'server' service runs the Heimdall2 application. | ||
# | ||
# 7. The 'nginx' service serves as a reverse proxy for the Heimdall2 application. | ||
# | ||
# 8. The 'healthcheck' for the 'nginx' service ensures it is running correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
<# | ||
.SYNOPSIS | ||
This script sets up the development environment for the Heimdall2 project by creating and populating a .env file with necessary environment variables. | ||
|
||
.DESCRIPTION | ||
The script performs the following tasks: | ||
1. Defines the path to the .env file. | ||
2. Provides a function to read user input with a default value. | ||
3. Provides a function to add key-value pairs to the .env file. | ||
4. Provides a function to generate a random key of a specified length. | ||
5. Checks if the .env file exists and creates it if it doesn't. | ||
6. Sets the NODE_ENV environment variable to "development". | ||
7. Prompts the user for PostgreSQL database username and password, and sets the corresponding environment variables. | ||
8. Prompts the user for the JWT expire time and sets the corresponding environment variable. | ||
9. Generates a JWT secret and sets the corresponding environment variable. | ||
10. Optionally enables API keys and sets the corresponding environment variable. | ||
11. Prompts the user for the FQDN/Hostname/IP Address and sets the corresponding environment variable. | ||
12. Checks if the SSL certificate exists and generates a new self-signed certificate if it doesn't. | ||
|
||
.PARAMETER ENV_PATH | ||
The path to the .env file. | ||
|
||
.PARAMETER prompt | ||
The prompt to display to the user. | ||
|
||
.PARAMETER default | ||
The default value to use if the user doesn't enter anything. | ||
|
||
.PARAMETER key | ||
The key to add to the .env file. | ||
|
||
.PARAMETER value | ||
The value to add to the .env file. | ||
|
||
.PARAMETER length | ||
The length of the key to generate. | ||
|
||
.EXAMPLE | ||
.\setup-dev-env.ps1 | ||
This command runs the script to set up the development environment for the Heimdall2 project. | ||
|
||
.NOTES | ||
- Ensure that OpenSSL is installed on your system if you need to generate a self-signed SSL certificate. | ||
- The script generates a self-signed SSL certificate that expires in 7 days. For production environments, use a valid SSL certificate. | ||
|
||
#> | ||
|
||
# Constants | ||
$ENV_PATH = "apps/backend/.env" | ||
|
||
# Function to display help information | ||
function Show-Help { | ||
Write-Host "Usage: .\setup-dev-env.ps1 [--help]" | ||
Write-Host "" | ||
Write-Host "This script sets up the development environment for the Heimdall2 project by creating and populating a .env file with necessary environment variables." | ||
Write-Host "" | ||
Write-Host "Options:" | ||
Write-Host " --help Display this help message and exit" | ||
exit 0 | ||
} | ||
|
||
# Function to read input from the user with a default value | ||
function Read-Input { | ||
param ( | ||
[string]$prompt, # The prompt to display to the user | ||
[string]$default # The default value to use if the user doesn't enter anything | ||
) | ||
# Read the input from the user | ||
$input = Read-Host -Prompt $prompt | ||
# If the user didn't enter anything, use the default value | ||
if ($input -eq "") { $input = $default } | ||
# Return the input | ||
return $input | ||
} | ||
|
||
# Function to add a key-value pair to the .env file | ||
function Add-To-Env { | ||
param ( | ||
[string]$key, # The key to add | ||
[string]$value # The value to add | ||
) | ||
# Add the key-value pair to the .env file | ||
Add-Content -Path $ENV_PATH -Value "$key=$value" | ||
} | ||
|
||
# Function to generate a random key of a specified length | ||
function Generate-Key { | ||
param ( | ||
[int]$length # The length of the key to generate | ||
) | ||
# Generate a random string of uppercase and lowercase ASCII letters | ||
return -join ((65..90) + (97..122) | Get-Random -Count $length | % {[char]$_}) | ||
} | ||
|
||
# Check if the --help option was provided | ||
if ($args -contains "--help") { | ||
Show-Help | ||
} | ||
|
||
# Check if the .env file exists, and create it if it doesn't | ||
if (!(Test-Path -Path $ENV_PATH)) { | ||
Write-Host ".env does not exist, creating..." | ||
try { | ||
New-Item -Path $ENV_PATH -ItemType File | Out-Null | ||
} catch { | ||
Write-Host "Error: Unable to create .env file." | ||
exit 1 | ||
} | ||
} | ||
|
||
# Set the NODE_ENV environment variable to development | ||
Add-To-Env "NODE_ENV" "development" | ||
|
||
# Prompt the user for the PostgreSQL database username and password, and set the corresponding environment variables | ||
$dbusername = Read-Input "Enter the username for the PostgreSQL database" "postgres" | ||
Add-To-Env "DATABASE_USERNAME" $dbusername | ||
|
||
$dbpassword = Read-Input "Enter the password for the PostgreSQL database" "" | ||
if ($dbpassword -ne "") { | ||
Add-To-Env "DATABASE_PASSWORD" $dbpassword | ||
} | ||
|
||
# Prompt the user for the JWT expire time, and set the corresponding environment variable | ||
$jwtexpiretime = Read-Input "Enter the JWT expire time (e.g., 1d or 25m)" "1d" | ||
Add-To-Env "JWT_EXPIRE_TIME" $jwtexpiretime | ||
|
||
# Generate a JWT secret and set the corresponding environment variable | ||
$jwtsecret = Generate-Key -length 64 | ||
Add-To-Env "JWT_SECRET" $jwtsecret | ||
|
||
# Prompt the user to enable API keys, and if enabled, generate an API key and set the corresponding environment variable | ||
$enableapikeys = Read-Input "Enable API keys (API_KEY_SECRET) [Y/n]" "n" | ||
if ($enableapikeys -eq "Y") { | ||
$apikey = Generate-Key -length 33 | ||
Add-To-Env "API_KEY_SECRET" $apikey | ||
} | ||
|
||
# Prompt the user for the FQDN/Hostname/IP Address, and set the corresponding environment variable | ||
$nginxhost = Read-Input "Enter your FQDN/Hostname/IP Address" "127.0.0.1" | ||
Add-To-Env "NGINX_HOST" $nginxhost | ||
|
||
# Check if the SSL certificate exists, and if it doesn't, generate a new self-signed certificate | ||
if (!(Test-Path -Path "./nginx/certs/ssl_certificate.crt")) { | ||
Write-Host "SSL Certificate does not exist, creating self-signed certificate..." | ||
Write-Host "Be sure your production environment is configured to work with your self-signed certificate." | ||
if (Get-Command openssl -ErrorAction SilentlyContinue) { | ||
Write-Host "Generating certificate (Expires in 7 days)..." | ||
try { | ||
openssl req -newkey rsa:4096 -x509 -sha256 -days 7 -nodes -out nginx/certs/ssl_certificate.crt -keyout nginx/certs/ssl_certificate_key.key -subj "/C=US/ST=SelfSigned/L=SelfSigned/O=SelfSigned/OU=SelfSigned/CN=SelfSigned" | ||
Write-Host "Certificates were generated" | ||
} catch { | ||
Write-Host "Error: Unable to generate SSL certificates." | ||
} | ||
} else { | ||
Write-Host "OpenSSL is not installed. Please install OpenSSL and re-run this script." | ||
} | ||
} else { | ||
Write-Host "SSL Certificate already exists. If you would like to regenerate your certificates, please delete the files in ./nginx/certs/ and re-run this script." | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there reason to expose this port at all if we have nginx?