22
33##### Tired of endless installation and configuration .... ?!
44
5- My personal solution is a local, docker-based CI/CD Build Environment ready in a few minutes to offer you a reade-to-use convinience playground with
5+ My personal solution is a local, docker-based CI/CD Build Environment ready in a few minutes to offer you a reade-to-use convenience playground with
66* Jenkins
77 * open-jdk
88 * maven
@@ -14,9 +14,9 @@ My personal solution is a local, docker-based CI/CD Build Environment ready in a
1414 * push with ssh avialable at port 2222
1515* Nexus 3
1616* Sonar
17- * Postgres (used by Sonar, Keycloak and YOUR applications)
17+ * Postgres (used by Sonar and YOUR applications)
1818* Standard Docker-Registry V2 with a simple UI
19- * Portainer
19+ * Portainer to check your setup
2020
2121so you can be your own local "DevOp"; nearly every category of [ periodic table of devoptools] [ 4 ] has one tool in your local setup.
2222
@@ -27,11 +27,11 @@ so you can be your own local "DevOp"; nearly every category of [periodic table o
2727## This is NOT for any cluster (Swarm/Kubernetes)
2828
2929### System requirements
30- * At least 8GB Memory with 3GB Swap and 10GB Disk-Space
30+ * At least 8GB Memory with 3GB Swap and 10GB Disk-Space, 16GB ist recommended
3131* docker version >= 17.06.0
3232* docker-compose version >= 1.15.0
3333
34- #### Listenports to be claimed
34+ #### Listenports to be claimed on your host
3535
3636| Port | Why |
3737| ---| ---|
@@ -44,45 +44,32 @@ so you can be your own local "DevOp"; nearly every category of [periodic table o
4444If your change the ports in the docker-compose.yml change them also in nginx-reverse/nginx.conf (stream {...} )
4545## Installation
4646
47- ### First use ./setupEnvironment.sh
47+ ### Importantn: First use ./setupEnvironment.sh
4848
4949The ./setupEnvironment.sh
5050* configures your settings and generates a .env File used by docker-compose
5151* copies some configuration File to your local directory
5252* Donloads all the Jenkins-Plugins to jenkins-fat/Plugins directory to save time.
5353* generates ssl-keys and certificates to use with git clone and the docker registry
54-
55-
54+
5655
5756Bring up your own DevOp Playground ... just do a
5857
59- ### micro setup (GitLab,GitLab-runner) takes 4GiB
58+ ### setup without sonar, takes 76GiB
6059```
6160 git clone https://github.com/Springjunky/docker-local-build-environment.git
6261 cd docker-local-build-environment
6362 sudo ./setupEnvironment.sh
64- docker-compose -f docker-compose-micro-ci.yml up --build -d
65- docker-compose logs
63+ docker-compose up --build
6664```
67- starts 3 container
65+ starts 9 container
6866
69- ### minimal setup (GitLab,GitLab-runner,Jenkins,Nexus,Postgres) takes 6GiB
67+ ### setup sonar, takes 10GiB
7068```
7169 git clone https://github.com/Springjunky/docker-local-build-environment.git
7270 cd docker-local-build-environment
7371 sudo ./setupEnvironment.sh
74- docker-compose -f docker-compose-minimal-ci.yml up --build -d
75- docker-compose logs
76- ```
77- starts 6 container
78-
79- ### standard setup (same like above with portainer, sonar, Docker-Registry and simple Docker-Registry-UI) takes 10GiB
80- ```
81- git clone https://github.com/Springjunky/docker-local-build-environment.git
82- cd docker-local-build-environment
83- sudo ./setupEnvironment.sh
84- docker-compose --build -d
85- docker-compose logs
72+ docker-compose -f docker-compose.yml -f docker-compose-sonar.yml up --build
8673```
8774starts 10 container
8875
0 commit comments