-
Notifications
You must be signed in to change notification settings - Fork 0
Add pheidi config #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pheidi config #420
Changes from all commits
37ddc23
7183963
0933444
910ae28
cb6d332
5e2814d
9cab6e6
4a4f158
3e4e22a
a43bf71
8524121
81e1535
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| name: pheidi | ||
|
|
||
| container_image: "registry.runnable.com/runnable/{{ name }}" | ||
| container_tag: "{{ git_branch }}" | ||
| repo: "git@github.com:CodeNow/{{ name }}.git" | ||
| node_version: "4.2.2" | ||
| npm_version: "2.14.7" | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit newline
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
| container_envs: > | ||
| -e DATADOG_HOST={{ datadog_host_address }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing API_URL ? and APP_URL?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what are API_URL and APP_URL? Did you mean FULL_API_DOMAIN and WEB_URL? |
||
| -e DATADOG_PORT={{ datadog_port }} | ||
| -e DOMAIN={{ domain }} | ||
| -e LOGGLY_TOKEN="{{ loggly_token }}" | ||
| -e NODE_ENV="{{ node_env }}" | ||
| -e FULL_API_DOMAIN=https://api.{{ domain }} | ||
| -e RABBITMQ_HOSTNAME="{{ rabbit_host_address }}" | ||
| -e RABBITMQ_PASSWORD="{{ rabbit_password }}" | ||
| -e RABBITMQ_PORT="{{ rabbit_port }}" | ||
| -e RABBITMQ_USERNAME="{{ rabbit_username }}" | ||
| -e ROLLBAR_KEY={{ pheidi_rollbar_token }} | ||
| {% if node_env != "production-epsilon" %} -e MONGO_CACERT=/opt/ssl/mongo-client/ca.pem {% endif %} | ||
| {% if node_env != "production-epsilon" %} -e MONGO_CERT=/opt/ssl/mongo-client/cert.pem {% endif %} | ||
| {% if node_env != "production-epsilon" %} -e MONGO_KEY=/opt/ssl/mongo-client/key.pem {% endif %} | ||
| -e MONGO_REPLSET_NAME={{ pheidi_mongo_replset_name }} | ||
| -e MONGO=mongodb://{{ pheidi_mongo_auth }}@{{ mongo_hosts }}/{{ pheidi_mongo_database }} | ||
| -e USER_CONTENT_DOMAIN={{ user_content_domain }} | ||
| -e WEB_URL=https://app.{{ domain }} | ||
|
|
||
| container_run_opts: > | ||
| -h {{ name }} | ||
| -d | ||
| -v /opt/ssl/mongodb-client:/opt/ssl/mongo-client:ro | ||
| {{ container_envs }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| - hosts: consul | ||
| - hosts: mongodb | ||
| - hosts: rabbitmq | ||
|
|
||
| - hosts: pheidi | ||
| vars_files: | ||
| - group_vars/alpha-pheidi.yml | ||
| roles: | ||
| - role: notify | ||
| rollbar_token: "{{ pheidi_rollbar_token }}" | ||
| tags: [ notify ] | ||
| - { role: builder, tags: [build] } | ||
| - { role: tls-client, tls_service: mongodb, tags: [ tls ] } | ||
| - { role: container_kill_start } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source of the auth?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied it from api and krhonos