Skip to content
Permalink
Browse files

Merge pull request #1513 from mozilla/fixup_docker

Fixup docker
  • Loading branch information...
pwnbus committed Nov 6, 2019
2 parents 8f1754c + 8bb8a3d commit 41ded2fec472e843991c89afe5822cb5f6391a12
@@ -2,8 +2,6 @@ FROM mozdef/mozdef_base

LABEL maintainer="mozdef@mozilla.com"

RUN install --owner mozdef --group mozdef --directory /opt/mozdef/envs/mozdef/docker /opt/mozdef/envs/mozdef/docker/conf

COPY --chown=mozdef:mozdef cron/mozdefStateDefaultMappingTemplate.json /opt/mozdef/envs/mozdef/cron/mozdefStateDefaultMappingTemplate.json
COPY --chown=mozdef:mozdef cron/defaultMappingTemplate.json /opt/mozdef/envs/mozdef/cron/defaultMappingTemplate.json
COPY --chown=mozdef:mozdef docker/compose/mozdef_cron/files/backup.conf /opt/mozdef/envs/mozdef/cron/backup.conf
@@ -13,4 +13,4 @@ number_of_shards = 1
number_of_replicas = 0
slowlog_threshold_query_warn = 5s
slowlog_threshold_fetch_warn = 5s
mapping_total_fields_limit = 1000
mapping_total_fields_limit = 1000
@@ -40,7 +40,7 @@
nargs='?'
)

default_file = os.path.realpath(cron_dir_path + '/backup.json')
default_file = os.path.realpath(cron_dir_path + '/backup.conf')
parser.add_argument(
'backup_conf_file',
help='The relative path to backup.conf file (default: {0})'.format(default_file),

0 comments on commit 41ded2f

Please sign in to comment.
You can’t perform that action at this time.