changes for gcp

This commit is contained in:
Dave Horton
2023-04-09 21:17:16 -04:00
parent a7c921e700
commit bece52b40e
3 changed files with 9 additions and 12 deletions
+5 -6
View File
@@ -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": [
{
+1 -1
View File
@@ -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
+3 -5
View File
@@ -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"