mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-07-04 22:11:48 +00:00
changes for gcp
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
{
|
||||
"variables": {
|
||||
"cloud_provider": "gcp",
|
||||
"region": "us-east-1",
|
||||
"project_id": "drachtio-cpaas",
|
||||
"source_image_family": "debian-11",
|
||||
"source_image_project_id": "debian-cloud",
|
||||
"image_zone": "us-central1-c",
|
||||
"ssh_username": "admin",
|
||||
"ami_description": "jambonz-mini (all-in-one server)",
|
||||
"instance_type": "c2-standard-4",
|
||||
@@ -22,11 +25,7 @@
|
||||
"rtp_engine_min_port": "40000",
|
||||
"rtp_engine_max_port": "60000",
|
||||
"mediaserver_name" : "jambonz",
|
||||
"preferred_codec_list" : "PCMU,PCMA,OPUS,G722",
|
||||
"project_id": "drachtio-cpaas",
|
||||
"source_image_family": "debian-11",
|
||||
"source_image_project_id": "debian-cloud",
|
||||
"image_zone": "us-central1-c"
|
||||
"preferred_codec_list" : "PCMU,PCMA,OPUS,G722"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@ uuid=$(uuidgen)
|
||||
sudo sed -i -e "s/\(.*\)JWT-SECRET-GOES_HERE\(.*\)/\1$uuid\2/g" /home/admin/apps/ecosystem.config.js
|
||||
|
||||
#Add BasicAuth password for Jaeger
|
||||
sudo htpasswd -b -c /etc/nginx/.htpasswd $JAEGER_USERNAME "$JAEGER_PASSWORD"
|
||||
sudo htpasswd -b -c /etc/nginx/.htpasswd admin "JambonzR0ck$"
|
||||
|
||||
# configure webapp
|
||||
if [[ -z $DNS_NAME ]]; then
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
image = "packer-1680730500"
|
||||
image = "packer-1681065267"
|
||||
region = "us-central1"
|
||||
zone = "us-central1-b"
|
||||
zone = "us-central1-a"
|
||||
project = "drachtio-cpaas"
|
||||
dns_name = "jambonz.me"
|
||||
instance_type = "e2-medium"
|
||||
jaeger_username = "admin"
|
||||
jaeger_password = "JambonzR0ck$"
|
||||
instance_type = "e2-medium"
|
||||
Reference in New Issue
Block a user