Volumes with docker-runner services
My .gitlab-ci.yml:
services:
- "postgres:9.4"
How can i use persistent storage for postgres? In command-line i can write:
docker run -d --name postgres --volumes-from postgres_datastore postgres:9.4
But GitLab CI doesn't support any options (-v
or --volumes-from
) as i know.
Is there other way to do it with docker?