I have a gitlab project and I would use gitlab CI for unit testing. Actually, I have a different docker repository name with docker-compose.yml and Dockerfile for two projects (because I reproduce the production configuration, the two projects are interdependent)
Actually in my dev configuration
in the project catalog:
in the docker directory:
- docker-compose.yml
- Dockerfile-project1
- Dockerfile-project2
- [some configuration file asks in dockerFile]
docker-compose.yml have a relative path like .. / project _1 and ../ project_2
To configure my configuration, I create:
- cd docker
- docker-compose up -d project1 (name in docker-compose.yml)
- docker exec -ti project1 bash
?
, git "" docker-compose 1, gitlab CI?