diff --git a/README.md b/README.md index 5c34b85ada877fd9eb24ab3f64d4091fc9dcbe66..f299d34ec8621d5d46afbcdcdf024ed53dddbd8f 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. + + + + + +