Skip to content

Instantly share code, notes, and snippets.

@onefriendaday
Created October 5, 2017 11:39
Show Gist options
  • Select an option

  • Save onefriendaday/34c51096110e01fde73c4a98c9783f9d to your computer and use it in GitHub Desktop.

Select an option

Save onefriendaday/34c51096110e01fde73c4a98c9783f9d to your computer and use it in GitHub Desktop.
Dynatrace ElasticBeanstalk Config with Rails Stack and Nginx
container_commands:
01_install_dynatrace_oneagent:
command: "[ -d /opt/dynatrace/oneagent ] || /tmp/Dynatrace-OneAgent.sh"
cwd: /tmp
02_reload_nginx:
command: "service nginx restart"
files:
"/tmp/Dynatrace-OneAgent.sh":
mode: "000755"
owner: root
group: root
source: YOUR_AGENT_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment