Skip to content

Instantly share code, notes, and snippets.

@andrewkchan
Created April 27, 2017 00:49
Show Gist options
  • Save andrewkchan/025c5e4813cfff9f078a7d11213cd6f0 to your computer and use it in GitHub Desktop.
Save andrewkchan/025c5e4813cfff9f078a7d11213cd6f0 to your computer and use it in GitHub Desktop.
ElasticBeanstalk - C9 ebextension
option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: "npm start"
ProxyServer: apache
GzipCompression: true
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
chown -R nodejs:nodejs /tmp/.npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment