Skip to content

Commit edfdab6

Browse files
authored
Merge pull request #612 from CodeNow/create-shared-single-host-main-ami
Create shared single host main ami
2 parents bebf0e0 + 4516cc5 commit edfdab6

24 files changed

Lines changed: 282 additions & 55 deletions

File tree

ansible/delta-hosts/variables

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[agreeable-egret:vars]
2-
agreeable_egret_port=65520
32
egret_pg_host=delta-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com
43
egret_pg_port=5432
54
egret_pg_user=egret

ansible/docker-files/base/id_rsa

Lines changed: 0 additions & 27 deletions
This file was deleted.

ansible/docker-files/base/known_hosts

Lines changed: 0 additions & 2 deletions
This file was deleted.

ansible/gamma-hosts/variables

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[agreeable-egret:vars]
2-
agreeable_egret_port=65520
32
egret_pg_host=gamma-big-poppa.cnksgdqarobf.us-west-2.rds.amazonaws.com:32659
43
egret_pg_port=32659
54
egret_pg_user=egret

ansible/group_vars/all.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ docker_config: runnable
2929
slack_token: T029DEC10/B1RSX8LNS/qLLSYEEqkGddohOdE44eDf3j
3030
slack_channels: [ '#ops' ]
3131

32+
sendgrid_key: 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
33+
3234
loggly_token: f673760d-e0b3-4a93-a15e-2862ea074f91
3335
loggly_password: TebejAcutHeH_Ch0tR9ru4anaT6CRu*3
3436
loggly_username: ops
@@ -46,6 +48,7 @@ core_file_dir: /docker/app-cores
4648

4749
# agreeable-egret
4850
agreeable_egret_hostname: egret.{{ domain }}
51+
agreeable_egret_port: 65520
4952

5053
#angular
5154
angular_url: https://app.{{ domain }}
@@ -114,6 +117,7 @@ docker_listener_rollbar_key: 7b5924eccfff415d9fc00c051811e9d7
114117

115118
# drake
116119
drake_hostname: drake.{{ domain }}
120+
drake_port: 80
117121

118122
# ec2
119123
aws_access_key: "AKIAIWRXWZ4P3MIMY3LA"

ansible/group_vars/alpha-api-base.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ repo: git@github.com:CodeNow/api.git
77
restart_policy: always
88
has_shrinkwrap: true
99

10-
# for sendGrid
11-
sendgrid_key: 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
12-
1310
dockerfile_enviroment: [
1411
"NPM_TOKEN {{ npm_token }}"
1512
]

ansible/group_vars/alpha-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ container_envs: >
1818
container_run_opts: >
1919
-h {{ name }}
2020
-d
21-
-P
21+
-p {{ hosted_ports[0] }}
2222
-v /opt/ssl/docker/{{ name }}:/etc/ssl/docker:ro
2323
-v /opt/ssl/mongodb-client:/opt/ssl/mongodb-client:ro
2424
{{ container_envs }}

ansible/group_vars/alpha-big-poppa-http.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dockerfile_enviroment: [
1313

1414
dockerfile_pre_install_commands: [
1515
"apt-get update",
16-
"apt-get install postgresql-client=9.3+154ubuntu1 -y",
16+
"apt-get install postgresql-client=9.4+165+deb8u2 -y",
1717
"echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc"
1818
]
1919

@@ -56,3 +56,5 @@ container_run_opts: >
5656
{{container_envs}}
5757
5858
npm_start_command: run start-http
59+
60+
container_run_args: npm {{ npm_start_command }}

ansible/group_vars/alpha-big-poppa-worker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dockerfile_enviroment: [
1212

1313
dockerfile_pre_install_commands: [
1414
"apt-get update",
15-
"apt-get install postgresql-client=9.3+154ubuntu1 -y",
15+
"apt-get install postgresql-client=9.4+165+deb8u2 -y",
1616
"echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc"
1717
]
1818

@@ -44,3 +44,5 @@ container_run_opts: >
4444
{{container_envs}}
4545
4646
npm_start_command: run start-worker
47+
48+
container_run_args: npm {{ npm_start_command }}

ansible/group_vars/alpha-cream-http.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ container_run_opts: >
4343
{{container_envs}}
4444
4545
npm_start_command: run start-http
46+
47+
container_run_args: npm {{ npm_start_command }}

0 commit comments

Comments
 (0)