Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (55 sloc) 1.47 KB
{
"variables": {
"triton_url": "{{env `TRITON_URL`}}",
"triton_account": "{{env `TRITON_ACCOUNT`}}",
"triton_key_id": "{{env `TRITON_KEY_ID`}}"
},
"builders": [
{
"type": "triton",
"triton_url": "{{user `triton_url`}}",
"triton_account": "{{user `triton_account`}}",
"triton_key_id": "{{user `triton_key_id`}}",
"source_machine_name": "nginx",
"source_machine_package": "g4-highcpu-128M",
"source_machine_image": "88cf77e4-1958-11e7-bda8-777cc817ade5",
"ssh_username": "root",
"image_name": "happy_randomizer",
"image_version": "1.0.0",
"image_tags": {
"Project": "Happy-Randomizer"
}
}
],
"provisioners": [
{
"type": "shell",
"script": "directories.sh"
},
{
"type": "file",
"source": "favicon.ico",
"destination": "/usr/share/nginx/html/"
},
{
"type": "file",
"source": "index.html",
"destination": "/usr/share/nginx/html/"
},
{
"type": "file",
"source": "css/",
"destination": "/usr/share/nginx/html/css/"
},
{
"type": "file",
"source": "js/",
"destination": "/usr/share/nginx/html/js/"
},
{
"type": "file",
"source": "resources/",
"destination": "/usr/share/nginx/html/resources/"
}
]
}