Commit 91032c4296aaaf6b85c54e212fd79908a70c038a
1 parent
a5d31f18bc
Exists in
master
and in
4 other branches
Mount Jenkins directory inside the containers
Looks like we're into some docker-in-docker situations... See: https://stackoverflow.com/questions/49312100/docker-in-docker-volumes-not-working-full-of-files-in-1st-level-container-em#49312179
Showing 2 changed files with 8 additions and 0 deletions
docker-compose-jfrog-composer.yml
View file @
91032c4
docker-compose-jfrog.yml
View file @
91032c4
... | ... | @@ -14,6 +14,7 @@ |
14 | 14 | - NET_RAW |
15 | 15 | command: ONLINE |
16 | 16 | volumes: |
17 | + - /var/jenkins_home:/var/jenkins_home | |
17 | 18 | - ./data/suricata/log:/var/log/suricata |
18 | 19 | - ./data/pcap:/var/pcap |
19 | 20 | |
... | ... | @@ -41,6 +42,7 @@ |
41 | 42 | soft: -1 |
42 | 43 | hard: -1 |
43 | 44 | volumes: |
45 | + - /var/jenkins_home:/var/jenkins_home | |
44 | 46 | - ./data:/data #/usr/share/elasticsearch/data |
45 | 47 | |
46 | 48 | logstash: |
... | ... | @@ -48,6 +50,7 @@ |
48 | 50 | container_name: kea_logstash |
49 | 51 | restart: unless-stopped |
50 | 52 | volumes: |
53 | + - /var/jenkins_home:/var/jenkins_home | |
51 | 54 | - ./data:/data |
52 | 55 | |
53 | 56 | kibana: |
... | ... | @@ -67,6 +70,7 @@ |
67 | 70 | - "80:80" |
68 | 71 | - "443:443" |
69 | 72 | volumes: |
73 | + - /var/jenkins_home:/var/jenkins_home | |
70 | 74 | - ./api:/var/www |
71 | 75 | - ./api/nginx/conf.d/:/etc/nginx/conf.d/ |
72 | 76 | |
... | ... | @@ -77,6 +81,7 @@ |
77 | 81 | tty: true |
78 | 82 | working_dir: /var/www |
79 | 83 | volumes: |
84 | + - /var/jenkins_home:/var/jenkins_home | |
80 | 85 | - ./api:/var/www |
81 | 86 | - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini |
82 | 87 | |
... | ... | @@ -109,6 +114,7 @@ |
109 | 114 | - "1883:1883" |
110 | 115 | - "9001:9001" |
111 | 116 | volumes: |
117 | + - /var/jenkins_home:/var/jenkins_home | |
112 | 118 | - ./data/mosquitto/data:/mosquitto/data |
113 | 119 | - ./data/mosquitto/log:/mosquitto/log |
114 | 120 | |
... | ... | @@ -117,6 +123,7 @@ |
117 | 123 | image: registry.curex-project.eu:443/curex-local/kea_timescaledb:2.1.0-pg11-oss |
118 | 124 | container_name: kea_timescaledb |
119 | 125 | volumes: |
126 | + - /var/jenkins_home:/var/jenkins_home | |
120 | 127 | - ./data/timescaledb:/var/lib/postgresql/data |
121 | 128 | environment: |
122 | 129 | - POSTGRES_USER=postgres |