update elastic beanstalk config to install loggly

This commit is contained in:
Matteo Pagliazzi 2016-05-27 17:01:25 +02:00
parent 2d81b31c3a
commit 7090ed5f4b
2 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,10 @@
sources:
/tmp: https://s3.amazonaws.com/habitica-assets/scripts/loggly-setup-script-2016-05-27.zip
commands:
01_sym:
command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node"
02_loggly_config:
command: "su --session-command="python /tmp/configure-syslog.py setup --auth $LOGGLY_TOKEN --account $LOGGLY_ACCOUNT --yes"
container_commands:
01_makeBabel:
command: "touch /tmp/.babel.json"

View file

@ -61,13 +61,8 @@
"client_secret":"client_secret"
},
"IAP_GOOGLE_KEYDIR": "/path/to/google/public/key/dir/",
"LOGGLY": {
"enabled": false,
"subdomain": "subdomain",
"token": "token",
"username": "username",
"password": "password"
},
"LOGGLY_TOKEN": "token",
"LOGGLY_ACCOUNT": "account",
"PUSH_CONFIGS": {
"GCM_SERVER_API_KEY": "",
"APN_PEM_FILES": {