File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- - hosts : redis
32- hosts : rabbitmq
43- hosts : consul
54
Original file line number Diff line number Diff line change 11---
2- - hosts : redis
32- hosts : rabbitmq
43- hosts : consul
54
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ api_intercom_app_id=wqzm3rju
1717api_intercom_api_key=46e75ada5d21f248787689b35fe80e11efe9303a
1818
1919[big-poppa:vars]
20- big_poppa_port=443
2120big_poppa_pg_pass=
2221big_poppa_pg_host=
2322big_poppa_github_token=e11a1264130fb62ce045bf03118bf123f980c205
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ api_workers_rollbar_key=3edfe8fe4fd640ae9fdbbe08fcb9f121
1414api_s3_context_bucket=runnable.context.resources.production-beta
1515
1616[big-poppa:vars]
17- big_poppa_port=443
1817big_poppa_pg_pass=
1918big_poppa_pg_host=
2019big_poppa_github_token=e11a1264130fb62ce045bf03118bf123f980c205
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ api_workers_rollbar_key=3edfe8fe4fd640ae9fdbbe08fcb9f121
1414api_s3_context_bucket=runnable.context.resources.production-beta
1515
1616[big-poppa:vars]
17- big_poppa_port=443
1817big_poppa_pg_pass=JFmZDuVYPt9vUxk4DBjj
1918big_poppa_pg_host=gamma-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com:32659
2019big_poppa_github_token=e11a1264130fb62ce045bf03118bf123f980c205
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ pg_database: astral
5858# big-poppa
5959big_poppa_pg_database : big_poppa
6060big_poppa_pg_user : big_poppa
61- big_poppa_hostname : big-poppa.{{ domain }}
61+ big_poppa_port : 7788
62+ big_poppa_host_address : " {{ hostvars[groups['big-poppa'][0]]['ansible_default_ipv4']['address'] }}"
6263
6364# charon
6465charon_port : 53
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ sendgrid_key: SG.IUCH4sM9RPC1z_-eM-4nKQ.OrXw3BxihUkCBAwYq1pys0QE3SDbP-nOGdlGwlVK
1313api_base_container_envs : >-
1414 -e AWS_ACCESS_KEY_ID={{ api_aws_access_key_id }}
1515 -e AWS_SECRET_ACCESS_KEY={{ api_aws_secret_access_key }}
16+ -e BIG_POPPA_URL=://{{ big_poppa_address }}:{{ big_poppa_port }}
1617 -e COOKIE_DOMAIN={{ domain }}
1718 -e DATADOG_HOST={{ datadog_host_address }}
1819 -e DATADOG_PORT={{ datadog_port }}
Original file line number Diff line number Diff line change @@ -7,15 +7,12 @@ repo: "git@github.com:CodeNow/big-poppa.git"
77node_version : 4.4.7
88npm_version : 2
99
10- redis_key : " frontend:{{ big_poppa_hostname }}"
11- is_redis_update_required : ' yes'
12-
1310# for container settings
1411container_envs : >
1512 -e DATADOG_HOST={{ datadog_host_address }}
1613 -e DATADOG_PORT={{ datadog_port }}
1714 -e GITHUB_TOKEN={{ big_poppa_github_token }}
18- -e HTTPS_PORT ={{ hosted_ports[0] }}
15+ -e PORT ={{ hosted_ports[0] }}
1916 -e INTERCOM_API_KEY={{ big_poppa_intercom_key | default('undefined') }}
2017 -e INTERCOM_APP_ID={{ big_poppa_intercom_id | default('undefined') }}
2118 -e NODE_ENV={{ node_env }}
@@ -29,7 +26,7 @@ container_envs: >
2926container_run_opts : >
3027 -h {{ name }}
3128 -d
32- -P
29+ -p {{ hosted_ports[0] }}:{{ hosted_ports[0] }}
3330 {{container_envs}}
3431
3532npm_start_command : run start-http
You can’t perform that action at this time.
0 commit comments