mongodbdocker_single.app 1.08 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
application : "MONGODB"
user : "someUser"
components :
 -
  name : "SEED"
  incomingPorts :
   -
    name : "MONGOS_SEED"
    number : 27018
   -
    name : "DATA_SEED"
    number : 27017
  lifecycleActions :
   init : ""
   download : "sudo apt-get -y update && sudo apt-get install wget -y
   && wget -O install.sh '#SERVICE_ENDPOINT#/scripts/database/mongodbdocker/install.sh'
   && wget -O init.sh '#SERVICE_ENDPOINT#/scripts/database/mongodbdocker/init.sh'
   && wget -O seed.sh '#SERVICE_ENDPOINT#/scripts/database/mongodbdocker/seed.sh'
Daniel Seybold's avatar
Daniel Seybold committed
19
   && wget -O telegraf.sh '#SERVICE_ENDPOINT#/scripts/database/mongodbdocker/telegraf.sh' 
20 21 22 23 24
   && wget -O maki-manager.sh '#SERVICE_ENDPOINT#/scripts/maki-manager/install_maki_manager.sh' "
   install : "sudo -E chmod +x install.sh && sudo -E ./install.sh"
   configure : " source /etc/environment && sudo -E chmod +x init.sh && sudo -E chmod +x seed.sh  && sudo -E ./init.sh"
   start : "source /etc/environment && sudo -E ./seed.sh && sudo -E chmod +x telegraf.sh && sudo -E ./telegraf.sh && chmod +x maki-manager.sh && sudo -E ./maki-manager.sh"
   stop : ""