@@ -6,24 +6,27 @@ repo: "git@github.com:CodeNow/{{ name }}.git"
66node_version : " 0.10.38"
77npm_version : " 2.1.18"
88rollbar_web_token : " 162a053bebd34e9eb6e2860543c7ae79"
9- do_not_push : yes
109
11- dockerfile_enviroment : [
12- " API_SOCK_URL https://{{ api_socket_server_hostname }}" ,
13- " API_URL https://{{ api_hostname }}" ,
14- " MIXPANEL_PROXY_URL {{ mixpanel_proxy_url }}" ,
15- " AWS_ACCESS_KEY {{ aws_access_key }}" ,
16- " AWS_BUCKET app.{{ domain }}" ,
17- " AWS_REGION {{ web_aws_bucket_region | default('us-east-1') }}" ,
18- " AWS_SECRET_KEY {{ aws_secret_key }}" ,
19- " INTERCOM_APP_ID {{ web_intercom_id }}" ,
20- " MARKETING_URL {{ marketing_url }}" ,
21- " NODE_ENV production" ,
22- " SIFT_API_KEY {{ web_sift_public_key }}" ,
23- " STRIPE_TOKEN {{ cream_stripe_publishable_key }}" ,
24- " USER_CONTENT_DOMAIN {{ user_content_domain }}" ,
25- ]
10+ container_envs : >
11+ -e API_SOCK_URL=https://{{ api_socket_server_hostname }}
12+ -e API_URL=https://{{ api_hostname }}
13+ -e MIXPANEL_PROXY_URL={{ mixpanel_proxy_url }}
14+ -e AWS_ACCESS_KEY={{ aws_access_key }}
15+ -e AWS_BUCKET=app.{{ domain }}
16+ -e AWS_REGION={{ web_aws_bucket_region | default('us-east-1') }}
17+ -e AWS_SECRET_KEY={{ aws_secret_key }}
18+ -e INTERCOM_APP_ID={{ web_intercom_id }}
19+ -e MARKETING_URL={{ marketing_url }}
20+ -e NODE_ENV=production
21+ -e SIFT_API_KEY={{ web_sift_public_key }}
22+ -e STRIPE_TOKEN={{ cream_stripe_publishable_key }}
23+ -e USER_CONTENT_DOMAIN={{ user_content_domain }}
2624
27- dockerfile_post_install_commands : [
28- " npm run gruntDeploy"
29- ]
25+ container_run_opts : >
26+ -h {{ name }}
27+ -d
28+ {{container_envs}}
29+
30+ npm_start_command : run gruntDeploy
31+
32+ container_run_args : npm {{ npm_start_command }}
0 commit comments