Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e3173c91
Commit
e3173c91
authored
Jul 24, 2019
by
Elliot Rushton
Committed by
Evan Read
Jul 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notes to the docs about setting service variables for users wanting to do so from the UI
parent
245fdf56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
doc/ci/services/mysql.md
doc/ci/services/mysql.md
+6
-0
doc/ci/services/postgres.md
doc/ci/services/postgres.md
+7
-0
No files found.
doc/ci/services/mysql.md
View file @
e3173c91
...
...
@@ -25,6 +25,12 @@ variables:
MYSQL_ROOT_PASSWORD
:
"
<your_mysql_password>"
```
NOTE:
**Note:**
The
`MYSQL_DATABASE`
and
`MYSQL_ROOT_PASSWORD`
variables can't be set in the GitLab UI.
To set them, assign them to a variable
[
in the UI
](
../variables/README.md#via-the-ui
)
,
and then assign that variable to the
`MYSQL_DATABASE`
and
`MYSQL_ROOT_PASSWORD`
variables in your
`.gitlab-ci.yml`
.
And then configure your application to use the database, for example:
```
yaml
...
...
doc/ci/services/postgres.md
View file @
e3173c91
...
...
@@ -25,6 +25,13 @@ variables:
POSTGRES_PASSWORD
:
"
"
```
NOTE:
**Note:**
The
`POSTGRES_DB`
,
`POSTGRES_USER`
, and
`POSTGRES_PASSWORD`
variables can't be set in
the GitLab UI. To set them, assign them to a variable
[
in the UI
](
../variables/README.md#via-the-ui
)
, and then assign that
variable to the
`POSTGRES_DB`
,
`POSTGRES_USER`
, and
`POSTGRES_PASSWORD`
variables in
your
`.gitlab-ci.yml`
.
And then configure your application to use the database, for example:
```
yaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment