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
a76ad1af
Commit
a76ad1af
authored
May 30, 2019
by
Marcia Ramos
Committed by
Achilleas Pipinellis
May 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc type
For CI services examples
parent
e33cab9f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
4 deletions
+21
-4
doc/ci/services/README.md
doc/ci/services/README.md
+9
-4
doc/ci/services/mysql.md
doc/ci/services/mysql.md
+4
-0
doc/ci/services/postgres.md
doc/ci/services/postgres.md
+4
-0
doc/ci/services/redis.md
doc/ci/services/redis.md
+4
-0
No files found.
doc/ci/services/README.md
View file @
a76ad1af
---
comments
:
false
type
:
index
---
# GitLab CI
Servic
es
# GitLab CI
services exampl
es
GitLab CI uses the
`services`
keyword to define what docker containers should
be linked with your base image. Below is a list of examples you may use.
The
[
`services`
](
../docker/using_docker_images.md#what-is-a-service
)
keyword defines a Docker image that runs during a
`job`
linked to the
Docker image that the image keyword defines. This allows you to access
the service image during build time.
The service image can run any application, but the most common use
case is to run a database container, for example:
-
[
Using MySQL
](
mysql.md
)
-
[
Using PostgreSQL
](
postgres.md
)
-
[
Using Redis
](
redis.md
)
-
[
Using Other Services
](
../docker/using_docker_images.md#what-is-a-service
)
doc/ci/services/mysql.md
View file @
a76ad1af
---
type
:
reference
---
# Using MySQL
As many applications depend on MySQL as their database, you will eventually
...
...
doc/ci/services/postgres.md
View file @
a76ad1af
---
type
:
reference
---
# Using PostgreSQL
As many applications depend on PostgreSQL as their database, you will
...
...
doc/ci/services/redis.md
View file @
a76ad1af
---
type
:
reference
---
# Using Redis
As many applications depend on Redis as their key-value store, you will
...
...
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