Commit 3275a6ca authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs/update-postgres-service-docs' into 'master'

Version pin postgres service

Closes gitlab-runner#8323

See merge request gitlab-org/gitlab!25435
parents 571c8903 145d29c4
...@@ -17,12 +17,12 @@ First, in your `.gitlab-ci.yml` add: ...@@ -17,12 +17,12 @@ First, in your `.gitlab-ci.yml` add:
```yaml ```yaml
services: services:
- postgres:latest - postgres:12.2-alpine
variables: variables:
POSTGRES_DB: nice_marmot POSTGRES_DB: nice_marmot
POSTGRES_USER: runner POSTGRES_USER: runner
POSTGRES_PASSWORD: "" POSTGRES_PASSWORD: "runner-password"
``` ```
NOTE: **Note:** NOTE: **Note:**
...@@ -37,7 +37,7 @@ And then configure your application to use the database, for example: ...@@ -37,7 +37,7 @@ And then configure your application to use the database, for example:
```yaml ```yaml
Host: postgres Host: postgres
User: runner User: runner
Password: Password: runner-password
Database: nice_marmot Database: nice_marmot
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment