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