Skip to content

Commit

Permalink
Merge branch 'master' of baltig.sandia.gov:scot/SCOT
Browse files Browse the repository at this point in the history
  • Loading branch information
brymon68 committed Sep 21, 2018
2 parents 656dc58 + d7a32c5 commit 2499981
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
6 changes: 6 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Installing SCOT
===============

Important Update
================

As of SCOT 3.6, you can now install SCOT via docker. Please see the :doc:`scot-docker docs <./scotdocker>`

Minimum System Requirements
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -16,6 +21,7 @@ at least 4 GB of RAM in this case.
System Preparation
^^^^^^^^^^^^^^^^^^


Ubuntu 14.04
------------

Expand Down
16 changes: 8 additions & 8 deletions docs/source/scotdocker.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Docker-SCOT v 0.02
Docker-SCOT v 0.03
******************

v0.02 relase date - 2/5/2017
v0.03 relase date - 9/21/2018

=================
Table of Contents
Expand All @@ -17,7 +17,7 @@ Table of Contents
**Overview**
----------------------

Docker-SCOT is an experimental, multi-container based implementation of SCOT. Docker-Scot allows a new user to get up and running with SCOT much quicker, and easier than with the traditional SCOT install process.
Docker-SCOT is now a supported, multi-container deployment of SCOT. Docker-SCOT allows a new user to get up and running with SCOT much quicker, and easier than with the traditional SCOT install process.

**IMPORTANT**

Expand Down Expand Up @@ -89,9 +89,9 @@ To restart a specific service and build in any particular changes you have made
Configuration
-------------

Docker-SCOT relies on the docker-compose.yml to define the execution of the services, the DockerFiles that define the dependencies for each container, and two directories (docker-scripts & docker-configs). Below I will talk about each.
Docker-SCOT relies on the docker-compose.yml or docker-compose-custom.yml file to define the execution of the services, the DockerFiles that define the dependencies for each container, and two directories (docker-scripts & docker-configs).

**docker-compose.yml**
**docker-compose-custom.yml**

The docker-compose.yml simply defines the port mappings, data volumes, build contexts, etc. Most of this can be configured as you please but keep in mind some of the data volume mapping and all of the static IPs are currently required unless you modify the configuration files in docker-configs.

Expand All @@ -108,7 +108,7 @@ The following scripts are currently supported:
To execute one of the above scripts, simply connect to the scot container via::


sudo docker exec -i -t -u 0 scot /bin/bash
sudo docker exec -i -t -u scot scot /bin/bash

cd to /opt/scot/bin/

Expand All @@ -122,14 +122,14 @@ and run::

If you are upgrading to the docker version of SCOT and need to restore your database (make sure to backup your database prior to upgrading) or you are already using the docker version of SCOT and want to backup your database simply run::

sudo docker exec -i -t -u 0 scot /bin/bash
sudo docker exec -i -t -u scot scot /bin/bash

cd to /opt/scot/bin and run::
./backup.pl
To restore, once you have finished the backup::

sudo docker exec -i -t -u 0 scot /bin/bash
sudo docker exec -i -t -u scot scot /bin/bash

cd to /opt/scot/bin and run::
./restore.pl
Expand Down
5 changes: 5 additions & 0 deletions lib/Scot/App/Responder/Stretch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ sub process_message {

$log->debug("[Wkr $$] Processing Message $action $type $id");

if ( $type eq "user" or $type eq "group" ) {
$log->debug("skipping putting user or group into elasticsearch");
return 1;
}

if ( $action eq "deleted" ) {
$es->delete($type, $id, 'scot');
$log->debug("after sending delete");
Expand Down

0 comments on commit 2499981

Please sign in to comment.