mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 01:06:55 -06:00
added documentation for system requirements
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"ExtraJavaOptions":{
|
"ExtraJavaOptions":{
|
||||||
"Description": "Setting Java Memory Parameters for Artifactory",
|
"Description": "Setting Java Memory Parameters for Artifactory. Learn about system requirements for Artifactory https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware.",
|
||||||
"Default" : "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\"",
|
"Default" : "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\"",
|
||||||
"Type" : "String"
|
"Type" : "String"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ resource "aws_launch_configuration" "master" {
|
|||||||
|
|
||||||
associate_public_ip_address = true
|
associate_public_ip_address = true
|
||||||
|
|
||||||
user_data = "${template_file.init.rendered}"
|
user_data = "${data.template_file.init.rendered}"
|
||||||
|
|
||||||
root_block_device {
|
root_block_device {
|
||||||
volume_type = "gp2"
|
volume_type = "gp2"
|
||||||
@@ -367,7 +367,7 @@ resource "aws_launch_configuration" "master" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "template_file" "init" {
|
data "template_file" "init" {
|
||||||
template = "${file("userdata.sh")}"
|
template = "${file("userdata.sh")}"
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
@@ -406,7 +406,7 @@ resource "aws_launch_configuration" "secondary" {
|
|||||||
|
|
||||||
associate_public_ip_address = true
|
associate_public_ip_address = true
|
||||||
|
|
||||||
user_data = "${template_file.secondary_init.rendered}"
|
user_data = "${data.template_file.secondary_init.rendered}"
|
||||||
|
|
||||||
root_block_device {
|
root_block_device {
|
||||||
volume_type = "gp2"
|
volume_type = "gp2"
|
||||||
@@ -419,7 +419,7 @@ resource "aws_launch_configuration" "secondary" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "template_file" "secondary_init" {
|
data "template_file" "secondary_init" {
|
||||||
template = "${file("userdata_secondary.sh")}"
|
template = "${file("userdata_secondary.sh")}"
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ variable "artifactory_instance_type" {
|
|||||||
|
|
||||||
variable "extra_java_options" {
|
variable "extra_java_options" {
|
||||||
default = "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\""
|
default = "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\""
|
||||||
description = "Setting Java Memory Parameters for Artifactory"
|
description = "Setting Java Memory Parameters for Artifactory. Learn about system requirements for Artifactory https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "bucket_name" {
|
variable "bucket_name" {
|
||||||
|
|||||||
Reference in New Issue
Block a user