From 91032c4296aaaf6b85c54e212fd79908a70c038a Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Fri, 19 Mar 2021 17:32:52 +0200 Subject: [PATCH] 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 --- docker-compose-jfrog-composer.yml | 1 + docker-compose-jfrog.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/docker-compose-jfrog-composer.yml b/docker-compose-jfrog-composer.yml index 3fb110e..2b7fbfa 100644 --- a/docker-compose-jfrog-composer.yml +++ b/docker-compose-jfrog-composer.yml @@ -7,5 +7,6 @@ services: container_name: kea_composer command: install volumes: + - /var/jenkins_home:/var/jenkins_home - ./api:/app diff --git a/docker-compose-jfrog.yml b/docker-compose-jfrog.yml index 4e96b38..cab003d 100644 --- a/docker-compose-jfrog.yml +++ b/docker-compose-jfrog.yml @@ -14,6 +14,7 @@ services: - NET_RAW command: ONLINE volumes: + - /var/jenkins_home:/var/jenkins_home - ./data/suricata/log:/var/log/suricata - ./data/pcap:/var/pcap @@ -41,6 +42,7 @@ services: soft: -1 hard: -1 volumes: + - /var/jenkins_home:/var/jenkins_home - ./data:/data #/usr/share/elasticsearch/data logstash: @@ -48,6 +50,7 @@ services: container_name: kea_logstash restart: unless-stopped volumes: + - /var/jenkins_home:/var/jenkins_home - ./data:/data kibana: @@ -67,6 +70,7 @@ services: - "80:80" - "443:443" volumes: + - /var/jenkins_home:/var/jenkins_home - ./api:/var/www - ./api/nginx/conf.d/:/etc/nginx/conf.d/ @@ -77,6 +81,7 @@ services: tty: true working_dir: /var/www volumes: + - /var/jenkins_home:/var/jenkins_home - ./api:/var/www - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini @@ -109,6 +114,7 @@ services: - "1883:1883" - "9001:9001" volumes: + - /var/jenkins_home:/var/jenkins_home - ./data/mosquitto/data:/mosquitto/data - ./data/mosquitto/log:/mosquitto/log @@ -117,6 +123,7 @@ services: image: registry.curex-project.eu:443/curex-local/kea_timescaledb:2.1.0-pg11-oss container_name: kea_timescaledb volumes: + - /var/jenkins_home:/var/jenkins_home - ./data/timescaledb:/var/lib/postgresql/data environment: - POSTGRES_USER=postgres -- 2.2.2