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
58694e04
Commit
58694e04
authored
Feb 28, 2020
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-73' into 'master'
New Postgres image requirement See merge request gitlab-org/gitlab!25315
parents
4c691b22
8cda693d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
doc/ci/services/postgres.md
doc/ci/services/postgres.md
+7
-6
No files found.
doc/ci/services/postgres.md
View file @
58694e04
...
...
@@ -22,22 +22,23 @@ services:
variables
:
POSTGRES_DB
:
nice_marmot
POSTGRES_USER
:
runner
POSTGRES_PASSWORD
:
"
runner-password"
POSTGRES_PASSWORD
:
"
"
POSTGRES_HOST_AUTH_METHOD
:
trust
```
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
The
`POSTGRES_DB`
,
`POSTGRES_USER`
,
`POSTGRES_PASSWORD`
and
`POSTGRES_HOST_AUTH_METHOD`
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`
.
variable to the
`POSTGRES_DB`
,
`POSTGRES_USER`
,
`POSTGRES_PASSWORD`
and
`POSTGRES_HOST_AUTH_METHOD`
variables in
your
`.gitlab-ci.yml`
.
And then configure your application to use the database, for example:
```
yaml
Host
:
postgres
User
:
runner
Password
:
runner-password
Password
:
'
'
Database
:
nice_marmot
```
...
...
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