3. Docker

3.1. Installing

Minds provides Docker Containers and Docker Compose configuration files in order to get running locally.

  1. Run sh init.sh in order to install the front and engine repositories
  2. Run docker-compose up -d nginx
  3. Run docker-compose exec cassandra nodetool enablethrift
  4. Run docker-compose up installer (one time only.. initial username: minds / password: password)
  5. Run docker-compose up front-build
  6. Navigate to http://localhost:8080

Note

Before installing Minds, ensure the target system meets the Requirements.

3.2. Provisioner Options (Expert Mode)

3.2.1. Core

--domain=VALUE Domain where Minds will run. Please note that if you’re using the Vagrant environment, you should use “dev.minds.io” unless you’re willing to customize nginx configuration.
--username=VALUE
 Super-admin username.
--password=VALUE
 Super-admin password.
--email=VALUE Super-admin email address. Please note that this is different than –site-email, which is used for system-related emails (i.e. error dumps, etc).

3.2.2. Storage

--cassandra-keyspace=VALUE
 Cassandra keyspace to be created and used by your Minds installation. Default: “minds”
--cassandra-server=VALUE
 Cassandra server IP address or host name Default: “127.0.0.1”
--cassandra-replication-factor=VALUE
 Number of keyspace data copies stored in the Cassandra cluster(s).
--elasticsearch-server=URL
 ElasticSearch endpoint to be used. Default: “http://127.0.0.1:9200/”
--elasticsearch-prefix=VALUE
 Prefix to be used when storing ElasticSearch documents. Default: “mehmac_”

3.2.3. Paths

--path=PATH Minds installation path. Default: (auto-detected)
--dataroot=PATH
 Path to be used for storing uploads and other user-generated content. Default: “/data/”
--cache-path=PATH
 Path to be used as filesystem-based cache. Default: “/tmp/minds-cache/

3.2.4. Third-Party Integrations

--facebook-app-id=VALUE
 Facebook app ID for user migrations action. Default: (empty)
--facebook-app-secret=VALUE
 Facebook app secret for user migrations action. Default: (empty)
--twilio-account-sid=VALUE
 Twilio account SID for SMS. Default: (empty)
--twilio-auth-token=VALUE
 Twilio authentication token for SMS. Default: (empty)
--twilio-from=VALUE
 Twilio sender’s phone number. Default: (empty)
--google-api-key=VALUE
 Google API key for Push notifications, geolocation and translation. Default: (empty)
--apple-certificate=PATH
 Path to Apple Developer Program certificate file. Default: (empty)
--apple-sandbox-enabled
 Apple Developer Program sandbox mode status.

3.2.5. Customization

--site-email=VALUE
 Email address used to send administrative (site-wide) alerts and error dumps. Default: “root@localhost”
--site-name=VALUE
 Name of the site. Please note that this is for internal use. Most name representations are present in frontend’s HTML markup. Default: “Minds”
--site-secret=VALUE
 Secret to be used as encryption salt and other authentication processes. Default: (auto-generated)

3.2.6. Socket.IO Integration

--socket-server-uri=VALUE
 Domain and port where the socket server is running. This setting is client-facing, so use a public domain or IP address. Default: (same as –domain with ”:8010” appended)
--jwt-secret=VALUE
 Secret to be used to encrypt JWT cookies allowing API <-> Socket.IO session persistance. Default: (auto-generated)
--jwt-domain=VALUE
 Domain where the JWT cookies are used. Default: (same as –domain)

3.2.7. Development-only

--no-https Specify this flag to avoid using the HTTPS protocol. Do not use this on a production environment installation!
--default-site=ID
 ID to be used for the site entity. Don’t modify this unless you know what you’re doing. Default: “1”