From 4f5a7b0ac5e613b6b2dcae8011e12735fb9c1840 Mon Sep 17 00:00:00 2001 From: Paul Qualls Date: Mon, 3 May 2021 08:20:41 -0600 Subject: [PATCH] Update readme --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 5c34b85..f299d34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ # Admin Plugin +to build this and tag with the 1.0.2 version, use the following command + +``` +docker build . -t registry1.dso.mil/ironbank/mattermost/admin-plugin:1.0.2 +``` + +You'll need to provide the environment vars for TARGET_URL and TARGET_TOKEN. +Note that the --network allows you to provide the name of the network that your mattermost instance is running on so that the url may be resolved. + +``` +docker run -d --network=mattermost-docker-with-debug_ent-collab_net -e TARGET_URL=http://mattermost-docker-with-debug_mattermost_app_1:8065 -e TARGET_TOKEN=cenneh38ifd9tfqy7trwra918r registry1.dso.mil/ironbank/mattermost/admin-plugin:1.0.2 +``` + +that command will start the container, auth to the MM server, remove then install the plugin, then exit. + + + + + + -- GitLab