Skip to content

IIC2173-2015-2-Grupo2/deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment

Prepare server

See: https://gist.github.com/mrpatiwi/de1b929785347cd1a22e

New Relic

export NEW_RELIC_LICENSE_KEY="KEY"

To create a monitoring container:

docker run -d \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  -e NEW_RELIC_LICENSE_KEY=$NEW_RELIC_LICENSE_KEY \
  --privileged \
  --pid="host" \
  --net="host" \
  --ipc="host" \
  -v /sys:/sys \
  -v /dev:/dev \
  --restart=always \
  --name newrelic \
  uzyexe/newrelic

Or just import analytics.yml:

newrelic:
  extends:
    file: ./../analytics.yml
    service: newrelic
  environment:
    - NEW_RELIC_LICENSE_KEY

About

Deployment setup & scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages