From 55ff6328d43dae7f28ad71b764218325df7a113b Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Fri, 19 Mar 2021 17:37:23 +0200 Subject: [PATCH] Also share /var/run/docker.sock --- 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 2b7fbfa..e245595 100644 --- a/docker-compose-jfrog-composer.yml +++ b/docker-compose-jfrog-composer.yml @@ -7,6 +7,7 @@ services: container_name: kea_composer command: install volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./api:/app diff --git a/docker-compose-jfrog.yml b/docker-compose-jfrog.yml index cab003d..2d33fa0 100644 --- a/docker-compose-jfrog.yml +++ b/docker-compose-jfrog.yml @@ -14,6 +14,7 @@ services: - NET_RAW command: ONLINE volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./data/suricata/log:/var/log/suricata - ./data/pcap:/var/pcap @@ -42,6 +43,7 @@ services: soft: -1 hard: -1 volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./data:/data #/usr/share/elasticsearch/data @@ -50,6 +52,7 @@ services: container_name: kea_logstash restart: unless-stopped volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./data:/data @@ -70,6 +73,7 @@ services: - "80:80" - "443:443" volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./api:/var/www - ./api/nginx/conf.d/:/etc/nginx/conf.d/ @@ -81,6 +85,7 @@ services: tty: true working_dir: /var/www volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./api:/var/www - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini @@ -114,6 +119,7 @@ services: - "1883:1883" - "9001:9001" volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./data/mosquitto/data:/mosquitto/data - ./data/mosquitto/log:/mosquitto/log @@ -123,6 +129,7 @@ services: image: registry.curex-project.eu:443/curex-local/kea_timescaledb:2.1.0-pg11-oss container_name: kea_timescaledb volumes: + - /var/run/docker.sock:/var/run/docker.sock - /var/jenkins_home:/var/jenkins_home - ./data/timescaledb:/var/lib/postgresql/data environment: -- 2.2.2