Commit e586b461 by e0d

new vars.

parent 2f8496a2
......@@ -2,6 +2,7 @@ description "Notifier Service"
start on runlevel [2345]
stop on runlevel [!2345]
setuid {{ notifier_web_user }}
env PID=/var/tmp/notifier_service.pid
......
......@@ -2,6 +2,7 @@
export NOTIFIER_ENV="{{ notifier_env }}"
# email settings independent of transport
export EMAIL_BACKEND="{{ notifier_email_backend }}"
export EMAIL_HOST="{{ notifier_email_host }}"
export EMAIL_PORT="{{ notifer_email_port }}"
export EMAIL_HOST_USER="{{ notifer_email_user }}"
......@@ -11,6 +12,7 @@ export EMAIL_REWRITE_RECIPIENT="{{ notifer_email_rewrite_recipient }}"
# LMS links, images, etc
export LMS_URL_BASE="{{ notifier_lms_url_base }}"
export SECRET_KEY="{{ notifier_lms_secret_key }}"
# Comments Service Endpoint, for digest pulls
export CS_URL_BASE="{{ notifier_comment_service_base }}"
......@@ -24,4 +26,8 @@ export US_API_KEY="{{ notifier_user_service_api_key }}"
export BROKER_URL="{{ notifier_celery_broker_url }}"
# have requests use the OS ca certs
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
\ No newline at end of file
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# basic auth credentils
export US_HTTP_AUTH_USER="{{ notifier_user_service_http_auth_user }}"
export US_HTTP_AUTH_PASS="{{ notifier_user_service_http_auth_pass }}"
---
notifier_user: "notifier"
notifier_web_user: "www-user"
notifier_home: "/opt/wwc/notifier"
notifier_venv_dir: "{{ notifier_home }}/virtualenvs/notifier"
notifier_source_repo: "git@github.com:edx/notifier.git"
notifier_code_dir: "{{ notifier_home }}/src"
notifier_version: "preintegration"
notifier_version: "rc/digests"
notifier_git_identity_path: "{{ secure_dir }}/files/git-identity"
notifier_requirements_file: "{{ notifier_code_dir }}/requirements.txt"
notifier_env: "Development"
notifier_email_backend: "console"
notifier_email_host: "localhost"
notifier_email_port: 25
notifier_email_user: ""
......@@ -22,16 +24,17 @@ notifier_email_domain: "notifications.edx.org"
notifier_email_rewrite_recipient: ""
notifier_lms_url_base: "http://localhost:8000"
notifier_lms_secret_key: "PUT_YOUR_SECRET_KEY_HERE"
notifier_comment_service_base: "http://localhost:4567"
2notifier_comment_service_api_key: "PUT_YOUR_API_KEY_HERE"
notifier_user_service_base: "http://localhost:8000"
notifier_user_service_api_key: "PUT_YOUR_API_KEY_HERE"
notifier_user_service_http_auth_user: "guido"
notifier_user_service_http_auth_pass: "vanrossum"
notifier_celery_broker_url: "django://"
notifier_debian_pkgs:
- apparmor-utils
- build-essential
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment