File tree Expand file tree Collapse file tree 15 files changed +92
-243
lines changed
Expand file tree Collapse file tree 15 files changed +92
-243
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - hosts : redis
3+ - hosts : agreeable-egret
4+ vars_files :
5+ - group_vars/alpha-agreeable-egret.yml
6+ roles :
7+ - role : notify
8+ tags : [ notify ]
9+ - role : builder
10+ tags : [ build ]
11+ - role : container_kill_start
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ delta-app-services
5959
6060[dock]
6161
62+ [agreeable-egret]
63+ delta-app-services
64+
6265[eru]
6366delta-app-services
6467
@@ -92,6 +95,9 @@ delta-rabbit
9295[web]
9396delta-app-services
9497
98+ [marketing]
99+ delta-app-services
100+
95101[metabase]
96102delta-metabase
97103
@@ -138,6 +144,7 @@ delta-app-services
138144delta-prometheus
139145
140146[delta:children]
147+ agreeable-egret
141148api
142149arithmancy
143150bastion
Original file line number Diff line number Diff line change 1+ [agreeable-egret:vars]
2+ agreeable_egret_port=65520
3+ egret_pg_host=delta-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com
4+ egret_pg_port=5432
5+ egret_pg_user=egret
6+ egret_pg_pass=wwHQ5B4RfY9iKS3m
7+ egret_pg_database=egret
8+
19[api_group:vars]
210api_aws_access_key_id=AKIAJWSSSJYUXKNW2ZDA
311api_aws_secret_access_key=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
@@ -140,6 +148,11 @@ vault_aws_access_key_id=AKIAJ7R4UIM45KH2WGWQ
140148vault_aws_secret_key=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
141149vault_aws_region=us-east-1
142150
151+ [marketing:vars]
152+ marketing_bucket=runnable.com
153+ marketing_aws_access_key=AKIAIPPPY2JIOHX7QVCA
154+ marketing_aws_secret_key=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
155+
143156[delta:vars]
144157ansible_ssh_private_key_file=~/.ssh/delta.pem
145158api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
@@ -196,3 +209,4 @@ vpc_id=vpc-864c6be3
196209[web:vars]
197210web_intercom_id=wqzm3rju
198211web_sift_public_key=27e9da5c97
212+ web_aws_bucket_region=us-west-2
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ gamma-consul-c
4545[worker]
4646gamma-api-worker
4747
48+ [agreeable-egret]
49+ gamma-app-services
50+
4851[eru]
4952gamma-app-services
5053
@@ -81,6 +84,9 @@ gamma-rabbit
8184[web]
8285gamma-app-services
8386
87+ [marketing]
88+ gamma-app-services
89+
8490[redis]
8591gamma-redis
8692
@@ -128,6 +134,7 @@ gamma-app-services
128134gamma-dock-services
129135
130136[gamma:children]
137+ agreeable-egret
131138api
132139arithmancy
133140bastion
Original file line number Diff line number Diff line change 1+ [agreeable-egret:vars]
2+ agreeable_egret_port=65520
3+ egret_pg_host=gamma-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com:32659
4+ egret_pg_port=32659
5+ egret_pg_user=egret
6+ egret_pg_pass=b3UKjxbGblKZtG6c
7+ egret_pg_database=egret
8+
19[api_group:vars]
210api_aws_access_key_id=AKIAIDC4WVMTCGV7KRVQ
311api_aws_secret_access_key=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
@@ -122,6 +130,11 @@ vault_aws_access_key_id=AKIAJ7R4UIM45KH2WGWQ
122130vault_aws_secret_key=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
123131vault_aws_region=us-east-1
124132
133+ [marketing:vars]
134+ marketing_bucket=runnable-gamma.com
135+ marketing_aws_access_key=AKIAICIWKIZEQCMDXLEA
136+ marketing_aws_secret_key=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
137+
125138[gamma:vars]
126139ansible_ssh_private_key_file=~/.ssh/gamma.pem
127140api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ core_file_dir: /docker/app-cores
4444# # shared application configs
4545# #
4646
47+ # agreeable-egret
48+ agreeable_egret_hostname : egret.{{ domain }}
49+
4750# angular
4851angular_url : https://app.{{ domain }}
4952mixpanel_proxy_url : https://mixpanel.{{ domain }}
Original file line number Diff line number Diff line change 1+ name : " agreeable-egret"
2+
3+ container_image : " registry.runnable.com/runnable/{{ name }}"
4+ container_tag : " {{ git_branch }}"
5+ hosted_ports : ["{{ agreeable_egret_port }}"]
6+ repo :
" [email protected] :CodeNow/{{ name }}.git" 7+ node_version : " 4.3.1"
8+ npm_version : " 3.7.5"
9+
10+ # Exposes egret
11+ redis_key : " frontend:{{ agreeable_egret_hostname }}"
12+ is_redis_update_required : ' yes'
13+
14+ # container settings
15+ container_envs : >
16+ -e HELLO_RUNNABLE_GITHUB_TOKEN={{ api_hello_runnable_github_token }}
17+ -e NODE_ENV={{ node_env }}
18+ -e RUNNABLE_API_URL={{ api_url }}
19+ -e PORT={{ hosted_ports[0] }}
20+ -e RUNNABLE_USER_CONTENT_DOMAIN={{ user_content_domain }}
21+ -e POSTGRES_CONNECT_STRING=postgres://{{ egret_pg_user }}:{{ egret_pg_pass }}@{{ egret_pg_host }}/{{ egret_pg_database }}
22+
23+ container_run_opts : >
24+ -h {{ name }}
25+ -d
26+ -p {{ hosted_ports[0] }}:{{ hosted_ports[0] }}
27+ {{ container_envs }}
You can’t perform that action at this time.
0 commit comments