mirror of
https://github.com/getredash/redash.git
synced 2025-12-29 11:00:14 -05:00
This script is intended to work on Ubuntu 12.04, Ubuntu 14.04 and Debian Wheezy (for GCE users). To make sure we use the same version of Redis across all distributions we install from source, and to make sure we use the same version of PostgreSQL we install it from PostgreSQL's apt. Also included Packer configuration to generate GCE & AWS images.
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"variables": {
|
|
"aws_access_key": "",
|
|
"aws_secret_key": ""
|
|
},
|
|
"builders": [
|
|
{
|
|
"name": "redash-us-east-1",
|
|
"type": "amazon-ebs",
|
|
"access_key": "{{user `aws_access_key`}}",
|
|
"secret_key": "{{user `aws_secret_key`}}",
|
|
"region": "us-east-1",
|
|
"source_ami": "ami-fe7cc796",
|
|
"instance_type": "t2.micro",
|
|
"ssh_username": "ubuntu",
|
|
"ami_name": "redash-040b563-us-east-1"
|
|
},
|
|
{
|
|
"name": "redash-eu-west-1",
|
|
"type": "amazon-ebs",
|
|
"access_key": "{{user `aws_access_key`}}",
|
|
"secret_key": "{{user `aws_secret_key`}}",
|
|
"region": "eu-west-1",
|
|
"source_ami": "ami-d2ff50a5",
|
|
"instance_type": "t2.micro",
|
|
"ssh_username": "ubuntu",
|
|
"ami_name": "redash-040b563-eu-west-1"
|
|
},
|
|
{
|
|
"type": "googlecompute",
|
|
"bucket_name": "redash-images",
|
|
"account_file": "account.json",
|
|
"client_secrets_file": "client_secret.json",
|
|
"project_id": "redash-bird-123",
|
|
"source_image": "debian-7-wheezy-v20141017",
|
|
"zone": "us-central1-a",
|
|
"image_name": "redash-040b563"
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"type": "shell",
|
|
"script": "bootstrap.sh"
|
|
}
|
|
]
|
|
}
|