Gitlab ci and docker

Hello, I have server with runner, and runner already works. On the server docker-compose and started few dockers. How can I to integrate CI in my docker-compose? I need build and deploy project after pushing to repo. But how I can do it, if container already started, if I have any options(volumes, ports), if I want have able to start builded project by docker-compose.


Did you register the runner against the instance of gitlab?

check this Register runner

If you have a question about this, please let me know


Yes, I just need example of gitlab config for that. Example of manipulate docker-compose and docker. And can I got access to dockers on my server from gitlab ci docker?