Skip to content

Instantly share code, notes, and snippets.

@sbuvaneshkumar
Created August 17, 2020 17:28
Show Gist options
  • Save sbuvaneshkumar/639c1c7a12febb52c2685ac15e996a12 to your computer and use it in GitHub Desktop.
Save sbuvaneshkumar/639c1c7a12febb52c2685ac15e996a12 to your computer and use it in GitHub Desktop.
external_url "https://gitlab.foobar.com"
git_data_dirs({
'default' => { 'gitaly_address' => 'tcp://10.249.30.252:8075' },
})
gitlab_rails['monitoring_whitelist'] = ['127.0.0.0/8', '::1/128']
gitlab_rails['artifacts_enabled'] = true
gitlab_rails['artifacts_object_store_enabled'] = true
gitlab_rails['artifacts_object_store_remote_directory'] = "artifacts"
gitlab_rails['artifacts_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['artifacts_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['external_diffs_enabled'] = true
gitlab_rails['external_diffs_object_store_enabled'] = true
gitlab_rails['external_diffs_object_store_remote_directory'] = "external-diffs"
gitlab_rails['external_diffs_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['external_diffs_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['lfs_object_store_enabled'] = true
gitlab_rails['lfs_object_store_remote_directory'] = "lfs-objects"
gitlab_rails['lfs_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
##'host' => 'localhost',
## 'endpoint' => 'http://127.0.0.1:9000',
## 'path_style' => true
}
gitlab_rails['uploads_object_store_enabled'] = true
gitlab_rails['uploads_object_store_remote_directory'] = "uploads"
gitlab_rails['uploads_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['uploads_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['terraform_state_enabled'] = true
gitlab_rails['terraform_state_object_store_enabled'] = true
gitlab_rails['terraform_state_object_store_remote_directory'] = "terraform_state"
gitlab_rails['terraform_state_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['terraform_state_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['backup_upload_connection'] = {
'provider' => 'AWS',
'region' => 'ap-southeast-2',
'use_iam_profile' => true
# If using an IAM Profile, don't configure aws_access_key_id & aws_secret_access_key
# 'use_iam_profile' => true
}
gitlab_rails['backup_upload_remote_directory'] = "s3-gitlab-object-storage"
gitlab_rails['gitaly_token'] = "xxxxxxxxxxx@.cm"
gitlab_shell['secret_token'] = "xxxxxxxxxx"
gitlab_rails['db_adapter'] = "postgresql"
gitlab_rails['db_encoding'] = "unicode"
redis['enable'] = true
postgresql['enable'] = false
nginx['listen_port'] = 80
nginx['listen_https'] = false
nginx['enable'] = true
letsencrypt['enable'] = false
backup_upload_remote_directory = '"core-devops-gitlab-object-storage"'
gitlab_rails['db_host'] = "gitlab-rds.xxxxxxxxxxibyffp.ap-southeast-2.rds.amazonaws.com"
gitlab_rails['db_database'] = "gitlabrds"
gitlab_rails['db_username'] = "gitlabdbadmin"
gitlab_rails['db_password'] = "************"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment