Simple project to generate gitlab and a development environment, with intention to demonstrate how to make basic changes using Ansible, Gitlab & PyATS.
The code and artefacts within this repository are considered in development and should not be used in production without sufficient testing.
A single docker compose file is used to build and run the following components, appropriate volumes and networks are created to ensure consistency when restarting the instance.
- Gitlab Community Edition
- Gitlab Runner
- 'DevTools' : Ubuntu image with Ansible and PyATS installed
This project is extremely simple, it requires only docker to be installed on the host and this repository to be cloned or manually copied. default today is compose version 2
- To start the service simply run either of the following:
- (Version 1)
docker-compose up -d
- (Version 2+)
docker compose up -d
- (Version 1)
- Check containers are spinning up
- Go have a cup of tea for 5 minutes while gitlab get's ready.
- Access gitlab in your browser : http://localhost:2080
- Access devtools from cli :
docker exec -it engine_devtools bash