File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,17 @@ restart_policy: always
99# for sendGrid
1010sendgrid_key : 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
1111
12+ dockerfile_enviroment : [
13+ " NPM_TOKEN {{ npm_token }}" ,
14+ " BIG_POPPA_HOST {{ big_poppa_host_address }}:{{ big_poppa_port }}" ,
15+ " RABBITMQ_HOSTNAME {{ rabbit_host_address }}" ,
16+ " RABBITMQ_PASSWORD {{ rabbit_password }}" ,
17+ " RABBITMQ_PORT {{ rabbit_port }}"
18+ ]
19+ dockerfile_pre_install_commands : [
20+ ' echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc'
21+ ]
22+
1223# shared ENV's between api services
1324api_base_container_envs : >-
1425 -e AWS_ACCESS_KEY_ID={{ api_aws_access_key_id }}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dockerfile_enviroment: [
1212]
1313
1414dockerfile_pre_install_commands : [
15- " echo '//registry.npmjs.org/:_authToken=\ $ {NPM_TOKEN}' > .npmrc"
15+ " echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc"
1616]
1717
1818# for container settings
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ npm_version: 2
99dockerfile_enviroment : [
1010 " NPM_TOKEN {{ npm_token }}"
1111]
12+
13+ dockerfile_enviroment : [
14+ " NPM_TOKEN {{ npm_token }}"
15+ ]
16+
17+ dockerfile_pre_install_commands : [
18+ " echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc"
19+ ]
20+
1221# for container settings
1322container_envs : >
1423 -e DATADOG_HOST={{ datadog_host_address }}
Original file line number Diff line number Diff line change @@ -10,10 +10,14 @@ npm_version: 3.8
1010has_shrinkwrap : true
1111
1212dockerfile_enviroment : [
13- " NPM_TOKEN {{ npm_token }}"
13+ " NPM_TOKEN {{ npm_token }}" ,
14+ " BIG_POPPA_HOST {{ big_poppa_host_address }}:{{ big_poppa_port }}" ,
15+ " RABBITMQ_HOSTNAME {{ rabbit_host_address }}" ,
16+ " RABBITMQ_PASSWORD {{ rabbit_password }}" ,
17+ " RABBITMQ_PORT {{ rabbit_port }}"
1418]
1519dockerfile_pre_install_commands : [
16- ' echo "//registry.npmjs.org/:_authToken=\ ${NPM_TOKEN}" > .npmrc'
20+ ' echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc'
1721]
1822
1923dockerfile_post_install_commands :
You can’t perform that action at this time.
0 commit comments