WIP: Upload docker-compose.yml with robotics builder services
Closes #3 (closed)
Merge request reports
Activity
Your turn to add the rest of the services, @jon.azpiazu
I forgot to add the external repository mirroring service.
I've been looking at how I configured it and I'm not yet sure how/whether to add it to this config. The reason is that the mirroring service is not a container that runs continuously. Instead, there is a cron job that nightly starts a container that does the update and then stops.
In the original repo for the docker container that runs this service, they suggest adding it to a compose file for convenience, since that way you can run the update job more easily without providing all the options by hand, but you still need to trigger that job periodically, so I'm not sure how much sense it makes to add that into this file.
Thoughts?
It is strange that the way they propose to run the service is to everytime recreate the same container, run the service and finalize by destroying the container. In my opinion this goes against the docker philosophy.
An idea to try: use the docker-compose to specify and create the container, and then just run
docker restart <container_name>
in the crontab.Will transfer stuff to https://git.code.tecnalia.com/tecnalia_robotics/common_config
- roboticsbuilder/docker-compose.yml 0 → 100644
1 version: '2' 2 services: 3 gitlab-runner: 4 image: "gitlab/gitlab-runner:latest" 5 restart: always - roboticsbuilder/docker-compose.yml 0 → 100644