File tree Expand file tree Collapse file tree
roles/container_start/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: navi
33container_image : registry.runnable.com/runnable/{{ name }}
44container_tag : " {{ git_branch }}"
55repo : git@github.com:CodeNow/{{ name }}.git
6- hosted_ports : [ "{{ navi_http_port }}", "{{ navi_https_port }}" ]
6+ hosted_ports : [ "{{ navi_http_port }}" ]
77node_version : " 4.2.4"
88npm_version : " 2.8.3"
99
@@ -17,7 +17,6 @@ container_envs: >
1717 -e COOKIE_SECRET={{ navi_cookie_secret }}
1818 -e DATADOG_HOST={{ datadog_host_address }}
1919 -e DATADOG_PORT={{ datadog_port }}
20- -e ENABLE_CLUSTERING=1
2120 -e ENABLE_LRU_CACHE=1
2221 -e ERROR_URL=http://{{ detention_host_address }}:{{ detention_port }}
2322 -e HTTP_PORT={{ hosted_ports[0] }}
@@ -44,7 +43,5 @@ container_run_opts: >
4443 -h {{ name }}
4544 -d
4645 -p {{ hosted_ports[0] }}:{{ hosted_ports[0] }}
47- -p {{ hosted_ports[1] }}:{{ hosted_ports[1] }}
4846 -v {{ redis_ca_cert_path }}:{{ redis_ca_cert_path }}
49- -v {{ content_domain_certs }}:{{ content_domain_certs }}
5047 {{ container_envs }}
Original file line number Diff line number Diff line change 1313 - role : notify
1414 rollbar_token : " {{ navi_rollbar_token }}"
1515 tags : [ notify ]
16- - { role: builder, tags: [ build ] }
16+ # - { role: builder, tags: [ build ] }
1717 - { role: content-domain-certs }
1818 - { role: tls-server-ca, ca_dest: "{{ redis_ca_cert_path }}" }
19- - { role: container_kill_start }
19+ - { role: container_start }
20+ - role : nginx-proxied-service
21+ tags : nginxx
22+ nginx_host : " {{ groups['userland'][0] }}"
23+ target_ip_address : " {{ hostvars[groups['userland'][0]]['ansible_default_ipv4']['address'] }}"
24+ templates : [ 01-navi.conf ]
Original file line number Diff line number Diff line change 2929 number_of_containers : 1
3030
3131- debug :
32+ tags : deploy
3233 msg : starting this many containers -- {{ number_of_containers }}
3334
3435- name : start new container
You can’t perform that action at this time.
0 commit comments