2018-03-17 18:26:18 +05:30
|
|
|
---
|
|
|
|
comments: false
|
2019-09-04 21:01:54 +05:30
|
|
|
type: index
|
2018-03-17 18:26:18 +05:30
|
|
|
---
|
|
|
|
|
2019-09-04 21:01:54 +05:30
|
|
|
# GitLab CI services examples
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2019-09-04 21:01:54 +05:30
|
|
|
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-23 02:04:40 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
- [Using MySQL](mysql.md)
|
|
|
|
- [Using PostgreSQL](postgres.md)
|
|
|
|
- [Using Redis](redis.md)
|