This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sleep 10 | |
echo SETUP.sh time now: `date +"%T" ` | |
mongo --host mongo1:27017 <<EOF | |
var cfg = { | |
"_id": "rs0", | |
"version": 1, | |
"members": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @copyright 2014 Mautic Contributors. All rights reserved | |
* @author Mautic | |
* | |
* @link http://mautic.org | |
* | |
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/bundles/EmailBundle/Assets/js/config.js b/app/bundles/EmailBundle/Assets/js/config.js | |
index f233d59f3f..5951c08143 100644 | |
--- a/app/bundles/EmailBundle/Assets/js/config.js | |
+++ b/app/bundles/EmailBundle/Assets/js/config.js | |
@@ -66,6 +66,7 @@ Mautic.testMonitoredEmailServerConnection = function(mailbox) { | |
Mautic.testEmailServerConnection = function() { | |
var data = { | |
amazon_region: mQuery('#config_emailconfig_mailer_amazon_region').val(), | |
+ amazon_api_region: mQuery('#config_emailconfig_mailer_amazon_api_region').val(), | |
api_key: mQuery('#config_emailconfig_mailer_api_key').val(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DetachVolume", | |
"ec2:AttachVolume", | |
"ec2:CopySnapshot", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
ghost: | |
image: ghost | |
volumes: | |
- ghostdata:/var/lib/ghost/content | |
environment: | |
- url=https://example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NextCloud Optimization Script | |
# with PHP Opcache and Redis Memcache | |
# Important: Do not run until the setup wizard in your browser is complete (has initialized the config.php file). | |
# Author: Autoize (autoize.com) | |
upload_max_filesize=4G # Largest filesize users may upload through the web interface | |
post_max_size=4G # Same as above | |
memory_limit=512M # Amount of memory NextCloud may consume |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NextCloud Installation Script for Ubuntu 16.04 | |
# with SSL certificate provided by Let's Encrypt (letsencrypt.org) | |
# Author: Autoize (autoize.com) | |
nextcloud_url='https://example.com' # Full URL of NextCloud instance | |
letsencrypt_domains='-d example.com -d www.example.com' # Hostname(s) to obtain SSL certificate for, following -d flag | |
letsencrypt_email='[email protected]' # Admin contact email for Let's Encrypt | |
nextcloud_version='12.0.3' # Desired NextCloud version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NextCloud Installation Script for Ubuntu 16.04 | |
# Author: Autoize (autoize.com) | |
nextcloud_url='http://example.com' # Full URL of NextCloud instance | |
nextcloud_version='12.0.3' # Desired NextCloud version | |
db_root_password='supersecret' # MySQL database root password | |
db_user_password='secret' # MySQL database user password | |
datapath='/cloudData' # Path for user data to be stored |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# NextCloud to BackBlaze B2 Backup Script | |
# Author: Autoize (autoize.com) | |
# This script creates an incremental backup of your NextCloud instance at BackBlaze's off-site location. | |
# BackBlaze B2 is an object storage service that is much less expensive than using Amazon S3 for the same purpose, with similar versioning and lifecycle management features. | |
# Uploads are free, and storage costs only $0.005/GB/month compared to S3's $0.022/GB/month. | |
# Requirements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# NextCloud to Amazon S3 Backup Script | |
# Author: Autoize (autoize.com) | |
# This script creates an incremental backup of your NextCloud instance to Amazon S3. | |
# Amazon S3 is a highly redundant block storage service with versioning and lifecycle management features. | |
# Requirements | |
# - Amazon AWS Account and IAM User with AmazonS3FullAccess privilege |