File tree Expand file tree Collapse file tree
roles/runnable-domain-proxy/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ clio_mongo_database: clio
104104# consul
105105consul_api_port : 8500
106106consul_https_port : 8501
107+ consul_storage_size_gb : 10
107108
108109# cream
109110cream_port : 8899
@@ -173,6 +174,9 @@ marketing_url: https://{{ domain }}
173174# metabase
174175metabase_port : 3000
175176
177+ # mongo
178+ mongo_storage_size_gb : 50
179+
176180# navi
177181navi_host_address : navi
178182navi_http_port : 3567
@@ -193,8 +197,12 @@ palantiri_rollbar_token: ed971bbca9ea44a29268afc606ab8c7d
193197pheidi_email_github_token : 115b4d854e34e8a5ba99ab73eefe4bf7a8944d6d
194198pheidi_rollbar_token : 6fc422ac645441bea7f6f14853eb01ab
195199
200+ # postgres
201+ postgres_storage_size_gb : 50
202+
196203# prometheus
197204prometheus_port : 9090
205+ prometheus_storage_size_gb : 100
198206prometheus_aws_access_key : AKIAIFG37NSI6O2QMRRQ
199207prometheus_aws_secret_key : 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
200208
@@ -205,10 +213,12 @@ prometheus_alert_url: http://prometheus-alerts:{{ prometheus_alert_port }}
205213# rabbit
206214rabbit_host_address : rabbitmq
207215rabbit_port : 5672
216+ rabbit_storage_size_gb : 50
208217
209218# redis
210219redis_host_address : redis
211220redis_port : 6379
221+ redis_storage_size_gb : 50
212222
213223# sauron
214224sauron_rollbar_token : 83157ae2d50d4b6398e404c0b9978d26
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ container_run_opts: >
2626 -p {{ ansible_default_ipv4.address }}:{{ consul_https_port }}:{{ consul_https_port }}
2727 --restart=always
2828
29- storage_size_gb : 10
29+ storage_size_gb : " {{ consul_storage_size_gb }} "
3030
3131container_run_args : >
3232 consul agent
Original file line number Diff line number Diff line change @@ -43,17 +43,18 @@ services:
4343 - name : base
4444 route : " /"
4545 port : " {{ api_port }}"
46- # TODO: Find a way to NOT have to deploy these
47- # - name: eru
48- # upstreams:
49- # - name: base
50- # route: "/"
51- # port: "{{ eru_http_port }}"
52- # - name: graphql
53- # route: "/graphql"
54- # port: "{{ eru_graphql_port }}"
55- # - name: egret
56- # upstreams:
57- # - name: base
58- # route: "/"
59- # port: "{{ egret_port }}"
46+ - name : eru
47+ include : " {{ include_eru_proxy | default(true) }}"
48+ upstreams :
49+ - name : base
50+ route : " /"
51+ port : " {{ eru_http_port }}"
52+ - name : graphql
53+ route : " /graphql"
54+ port : " {{ eru_graphql_port }}"
55+ - name : egret
56+ include : " {{ include_ergre_proxy | default(true) }}"
57+ upstreams :
58+ - name : base
59+ route : " /"
60+ port : " {{ egret_port }}"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: mongo
22hosted_ports : ["{{ mongo_port }}"]
33container_run_args : ' '
44
5- storage_size_gb : 50
5+ storage_size_gb : " {{ mongo_storage_size_gb }} "
66
77volume_id : " {{ mongo_volume_id }}"
88
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: postgres
22hosted_ports : ["{{ pg_port }}"]
33container_run_args : ' '
44
5- storage_size_gb : 50
5+ storage_size_gb : " {{ postgres_storage_size_gb }} "
66
77volume_mounts :
88 - name : " {{ name }}-db-claim"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ hosted_ports: ["{{ prometheus_port }}"]
66
77memory_hard_limit : 15G
88
9- storage_size_gb : 100
9+ storage_size_gb : " {{ prometheus_storage_size_gb }} "
1010
1111volume_id : " {{ prometheus_volume_id }}"
1212
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ service_name: rabbitmq
33
44hosted_ports : [ "{{ rabbit_port }}", 15672 ]
55
6- storage_size_gb : 50
6+ storage_size_gb : " {{ rabbit_storage_size_gb }} "
77
88volume_id : " {{ rabbit_volume_id }}"
99
Original file line number Diff line number Diff line change 11name : redis
22hosted_ports : ["{{ redis_port }}"]
33
4- storage_size_gb : 50
4+ storage_size_gb : " {{ redis_storage_size_gb }} "
55
66volume_id : " {{ redis_volume_id }}"
77
Original file line number Diff line number Diff line change 5757 }
5858
5959{% for service in services %}
60+ {% if 'include' not in service or service.include != false %}
6061 {{ service.name }}.conf : |
6162 map $http_upgrade $connection_upgrade {
6263 default upgrade;
@@ -134,4 +135,5 @@ data:
134135
135136{% endfor %}
136137 }
138+ {% endif %}
137139{% endfor %}
You can’t perform that action at this time.
0 commit comments