templates/services/nexus.rb in ciinabox-ecs-0.2.10.alpha.1529998182 vs templates/services/nexus.rb in ciinabox-ecs-0.2.10

- old
+ new

@@ -4,20 +4,18 @@ if !defined? timezone timezone = 'GMT' end image = 'base2/ciinabox-nexus' -container_path = '/sonatype-work' java_opts = '' memory = 1024 cpu = 300 container_port = 0 service = lookup_service('nexus', services) if service java_opts = service['JAVA_OPTS'] || '' image = service['ContainerImage'] || image - container_path = service['ContainerPath'] || container_path memory = service['ContainerMemory'] || 1024 cpu = service['ContainerCPU'] || 300 container_port = service['InstancePort'] || 0 end @@ -58,10 +56,10 @@ ContainerPath: '/etc/localtime', SourceVolume: 'timezone', ReadOnly: true }, { - ContainerPath: container_path, + ContainerPath: '/sonatype-work', SourceVolume: 'nexus_data', ReadOnly: false } ] }