From 1d47094927ee4fc1cd96a51276ca49e64fa08db3 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 16 Apr 2018 16:37:27 +0200 Subject: [PATCH] fix(docker-compose): updated nexus with mount options --- templates/jenkins/0/docker-compose.yml | 2 ++ templates/nexus/0/docker-compose.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/jenkins/0/docker-compose.yml b/templates/jenkins/0/docker-compose.yml index 5976313..952613a 100644 --- a/templates/jenkins/0/docker-compose.yml +++ b/templates/jenkins/0/docker-compose.yml @@ -18,6 +18,8 @@ services: image: registry.molgenis.org/docker-molgenis-ops-releases/jenkins-agent-buildtools:latest ports: - 22 + environment: + JENKINS_SLAVE_SSH_PUBKEY= volumes: - molgenis-jenkins-agent-buildtools:/var/jenkins_home diff --git a/templates/nexus/0/docker-compose.yml b/templates/nexus/0/docker-compose.yml index 8128d84..85f2572 100644 --- a/templates/nexus/0/docker-compose.yml +++ b/templates/nexus/0/docker-compose.yml @@ -16,4 +16,7 @@ services: volumes: molgenis-nexus-data: - driver: rancher-nfs \ No newline at end of file + driver: rancher-nfs + driver_opts: + mountOpts: all_squash,anonuid=200,anongid=200 + onRemove: purge