Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Merge requests
!19
5534 add docker
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
5534 add docker
5534-add-docker
into
master
Overview
0
Commits
74
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
5534-add-docker
into
master
2 years ago
Overview
0
Commits
74
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
558df580
Prev
Next
Show latest version
1 file
+
114
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
558df580
add config_custom.php.erb
· 558df580
hahn
authored
2 years ago
hooks/templates/config_custom.php.erb
0 → 100644
+
114
−
0
View file @ 558df580
Edit in single-file editor
Open in Web IDE
<
?
php
/
*
*
TARGET:
config
/
config_custom.php.php
*
----------------------------------------------------------------------
*
CUSTOM
SETTINGS
*
*
Settings
here
override
defaults
from
config_defaults.php
*
*
/
return
[
'
lang
'
=
>
'
<%=
@replace
[
"lang"
]
%>
', // for available languages see ./config/lang/*.json
'auth' => [
// force using a given user ... for development only
'forceuser' => false,
// use a real login
'ldap' => [
'server' => '
<%=
@replace
[
"ldap-url"
]
%>
',
'port' =>
<%=
@replace
[
"ldap-port"
]
%>
,
'DnLdapUser' => '
<%=
@replace
[
"ldap-user"
]
%>
',
'PwLdapUser' => '
<%=
@replace
[
"ldap-password"
]
%>
',
'DnUserNode' => '
<%=
@replace
[
"ldap-dn-user"
]
%>
',
'DnAppNode' => '
<%=
@replace
[
"ldap-cn-apps"
]
%><%=
@replace
[
"ldap-dn-apps"
]
%>
',
'debugLevel' => 0,
]
],
// ----------------------------------------------------------------------
'phases' => [
"preview" => [],
"stage" => [],
"live" => [
// prevent immediate installation after build or accept
"deploytimes" => ['
<%=
@replace
[
"deploytimes-live"
]
%>
'],
],
],
'showdebug' => [
'ip'=> [
<%=
@replace
[
"debug-ips"
]
%>
],
],
'projectgroups' => [
<%=
@replace
[
"projectgroups"
]
%>
],
// ----------------------------------------------------------------------
// build settings
// ----------------------------------------------------------------------
'versionsToKeep' =>
<%=
@replace
[
"versions-to-keep"
]
%>
, // for cleanup: keep n unused versions
'builtsToKeep' =>
<%=
@replace
[
"builds-to-keep"
]
%>
,
'build' => [
'env' => 'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";',
'hooks' => [
'build-postclone' => 'hooks/onbuild-postclone',
'build-precompress' => 'hooks/onbuild',
],
],
// ----------------------------------------------------------------------
// sync of archives
// ----------------------------------------------------------------------
'mirrorPackages' => [
<%=
@replace
[
"mirror-packages"
]
%>
],
// ----------------------------------------------------------------------
// plugins
// existing subkeys = enabled plugins
// ----------------------------------------------------------------------
'plugins'=>[
'rollout'=>[
'default'=>[],
'ssh'=>[
'user'=>'
<%=
@replace
[
"rollout-ssh-user"
]
%>
',
'privatekey'=>'',
'addkeycommand'=>'/usr/bin/ssh-keygen -R %s; /usr/bin/ssh-keyscan -t rsa %s >> /home/www-data/.ssh/known_hosts',
'testcommand'=>'
<%=
@replace
[
"rollout-ssh-testcommand"
]
%>
',
'command'=>'
<%=
@replace
[
"rollout-ssh-command"
]
%>
',
],
'awx'=>[
'url'=>'
<%=
@replace
[
"rollout-axw-url"
]
%>
', // no ending "/"
'user'=>'
<%=
@replace
[
"rollout-axw-user"
]
%>
',
'password'=>'
<%=
@replace
[
"rollout-axw-password"
]
%>
',
'jobtemplate'=>'
<%=
@replace
[
"rollout-axw-jobtemplate"
]
%>
',
'tags'=>'
<%=
@replace
[
"rollout-axw-tags"
]
%>
',
// 'ignore-ssl-error'=>false,
],
],
],
// ----------------------------------------------------------------------
// notifications to messengers ...
// ----------------------------------------------------------------------
// notifications to messengers ...
'messenger'=>[
'slack'=>[
'presets'=>[
<%=
@replace
[
"messenger-slack-presets"
]
%>
],
],
'email'=>[
'from'=>[
<%=
@replace
[
"messenger-email-from"
]
%>
],
],
],
'foreman' => array(
'api'=>'
<%=
@replace
[
"foreman-url"
]
%>
', // with ending "/"
'user'=>'
<%=
@replace
[
"foreman-user"
]
%>
',
'password'=>'
<%=
@replace
[
"foreman-password"
]
%>
',
'ignore-ssl-error'=>
<%=
@replace
[
"ignore-ssl-error"
]
%>
,
// 'varname-replace'=>'ci-replacement',
),
// ----------------------------------------------------------------------
];
\ No newline at end of file
Loading