2017-11-01 15:56:40 +00:00
|
|
|
---
|
|
|
|
comments: false
|
2019-05-30 06:21:27 +00:00
|
|
|
type: index
|
2017-11-01 15:56:40 +00:00
|
|
|
---
|
|
|
|
|
2019-05-30 06:21:27 +00:00
|
|
|
# GitLab CI services examples
|
2015-11-25 13:41:14 +00:00
|
|
|
|
2019-05-30 06:21:27 +00:00
|
|
|
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:
|
2015-12-04 09:47:50 +00:00
|
|
|
|
2016-02-29 12:44:08 +00:00
|
|
|
- [Using MySQL](mysql.md)
|
|
|
|
- [Using PostgreSQL](postgres.md)
|
|
|
|
- [Using Redis](redis.md)
|