BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1e7156ed
Commit
1e7156ed
authored
Dec 08, 2015
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the name of the linked containers instead of localhost
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1917#note_2833978
parent
b312edaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
mysql.md
doc/ci/services/mysql.md
+4
-1
postgres.md
doc/ci/services/postgres.md
+4
-1
No files found.
doc/ci/services/mysql.md
View file @
1e7156ed
...
...
@@ -24,12 +24,15 @@ variables:
And then configure your application to use the database, for example:
```
yaml
Host
:
localhost
Host
:
mysql
User
:
root
Password
:
mysql_strong_password
Database
:
el_duderino
```
If you are wondering why we used
`mysql`
for the
`Host`
, read more at
[
How is service linked to the build
](
../docker/using_docker_images.md#how-is-service-linked-to-the-build
)
.
You can also use any other docker image available on
[
Docker Hub
][
hub-mysql
]
.
For example, to use MySQL 5.5 the service becomes
`mysql:5.5`
.
...
...
doc/ci/services/postgres.md
View file @
1e7156ed
...
...
@@ -24,12 +24,15 @@ variables:
And then configure your application to use the database, for example:
```
yaml
Host
:
localhost
Host
:
postgres
User
:
runner
Password
:
Database
:
nice_marmot
```
If you are wondering why we used
`postgres`
for the
`Host`
, read more at
[
How is service linked to the build
](
../docker/using_docker_images.md#how-is-service-linked-to-the-build
)
.
You can also use any other docker image available on
[
Docker Hub
][
hub-pg
]
.
For example, to use PostgreSQL 9.3 the service becomes
`postgres:9.3`
.
...
...
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