---
flask_git_repo: https://github.com/DavidCain/mitoc-member
setup_git_repo: yes

# Application settings.
flask_virtualenv_path: "/webapps/{{ flask_application_name }}"
flask_project_path: "{{ flask_virtualenv_path }}/{{ flask_project_name }}"
flask_application_log_dir: "{{ flask_virtualenv_path }}/logs"
flask_application_log_file: "{{ flask_application_log_dir }}/gunicorn_supervisor.log"
flask_requirements_file: "{{ flask_project_path }}/requirements.txt"


# Gunicorn settings.
gunicorn_user: "{{ flask_application_name }}"
gunicorn_group: webapps


# Nginx settings.
# nginx_access_log_file: "{{ flask_application_log_dir }}/nginx_access.log"
# nginx_error_log_file: "{{ flask_application_log_dir }}/nginx_error.log"


# Flask environment variables.
flask_environment:
  MEMBERSHIP_SECRET_KEY: "{{ membership_secret_key }}"
  GEAR_DATABASE_NAME: "{{ gear_db_name }}"
  GEAR_DATABASE_USER: "{{ gear_db_user }}"
  GEAR_DATABASE_PASSWORD: "{{ gear_db_password }}"
  GEAR_DATABASE_HOST: "{{ gear_db_host|default('localhost') }}"

---
flask_git_repo: https://github.com/DavidCain/mitoc-member
setup_git_repo: yes

# Application settings.
flask_virtualenv_path: "/webapps/{{ flask_application_name }}"
flask_project_path: "{{ flask_virtualenv_path }}/{{ flask_project_name }}"
flask_application_log_dir: "{{ flask_virtualenv_path }}/logs"
flask_application_log_file: "{{ flask_application_log_dir }}/gunicorn_supervisor.log"
flask_requirements_file: "{{ flask_project_path }}/requirements.txt"


# Gunicorn settings.
gunicorn_user: "{{ flask_application_name }}"
gunicorn_group: webapps


# Nginx settings.
# nginx_access_log_file: "{{ flask_application_log_dir }}/nginx_access.log"
# nginx_error_log_file: "{{ flask_application_log_dir }}/nginx_error.log"


# Flask environment variables.
flask_environment:
  MEMBERSHIP_SECRET_KEY: "{{ membership_secret_key }}"
  GEAR_DATABASE_NAME: "{{ gear_db_name }}"
  GEAR_DATABASE_USER: "{{ gear_db_user }}"
  GEAR_DATABASE_PASSWORD: "{{ gear_db_password }}"
  GEAR_DATABASE_HOST: "{{ gear_db_host|default('localhost') }}"
  RAVEN_DSN: "{{ flask_raven_dsn|default('') }}"

Add RAVEN_DSN to Flask application
Add RAVEN_DSN to Flask application
