#######################################
# Orchard Creds
#######################################

# No quotes needed for the values!

# Your Orchard username. Usually `first initial + last name`
ORCHARD_USERNAME: <%= @orchard_username %>

# Your Orchard email address. Usually `(first initial + last name)@theorchard.com`
ORCHARD_EMAIL_ADDRESS: <%= @orchard_email_address %>

# There are emails that are generated which will come to the email specified
# by {{ ORCHARD_EMAIL_ADDRESS }}, and your name specified here:
YOUR_NAME: <%= @your_name %>


#######################################
# Devorch server
#######################################

# The base path where you want to setup your environment
# if setup is done on server or devbox then set path with e.g. `/var/www` OR
# if setup is done on local then give system path for e.g. `/Users/username/foldername`
# For example, if your path for ansible-dev-box-setup looks like this `/var/www/html_test/ansible-dev-box-setup`
# then your DEVORCH_BASE_PATH will be `/var/www`
# or
# leave the value as blank then it will be set automatically by start.sh script
DEVORCH_BASE_PATH: <%= @devorch_base_path %>

# The name of your home directory folder under /var/www e.g. `html_username`
# Usually `html_{{ ORCHARD_USERNAME }}`
# For example, if your path for ansible-dev-box-setup looks like this `/var/www/html_test/ansible-dev-box-setup`
# then your DEVORCH_HOME_DIR will be `html_test`
# or
# leave the value as blank then it will be set automatically by start.sh script
DEVORCH_HOME_DIR: <%= @devorch_home_dir %>

# The abbreviation for your squad box e.g. for box.<squad>.devorch.com.
# For example,
# For physical squad it `phys`
# For concepts squad its `concepts`
# And so on
# For local development it can be `localhost`
DEVORCH_SERVER: localhost

# The hostname for your user in squad box
# It can be any valid string, but according to Orchard guidelines
# it is your orchard username
# For example, for user John Penner with orchard username `jpenner`
# on the `concepts` sqaud
# So to access OA page for John Penner's squad box
# you would type in a browser: http(s)://oa.jpenner.concepts.devorch.com
DEVORCH_SERVER_HOSTNAME:


#######################################
# Github Token & NPM Packagecloud token
#######################################

# Set your github token of orchard account
GITHUB_TOKEN: <%= @github_token %>

# Set the Npm packagecloud token used to fetch packages from NPM registry for frontend/graphql services
PACKAGECLOUD_TOKEN: <%= @packagecloud_token %>

#######################################
# SYSTEM USERNAME
#######################################

# Enter current logged in system username
# you can get it by running the following command in terminal:
# echo $USER
# or
# leave the value as blank then it will be set automatically by start.sh script
SYSTEM_USERNAME: <%= @system_username %>

#######################################
# Client IP Address
#######################################

# Do not change this, used for local machine development
CLIENT_IP: 127.0.0.1
USE_SSL: true

#######################################
# MYSQL
#######################################

# Password to use for mysql databases if not specified below; also used for LOG_ETL db.
ORCHARD_USER_MYSQL_PASSWORD:

# Your squad will usually have it's own mysql database instance(s) for `art_relations` db.
# E.g. for the Physical Distribution team, that is `phys.db.devorch.com`
SQUAD_MYSQL_HOST_ART_RELATIONS: <%= @squad_mysql_host_art_relations %>
# Uncomment and set user if different from user specified by ORCHARD_USERNAME
SQUAD_MYSQL_USER_ART_RELATIONS: <%= @squad_mysql_user_art_relations %>
# Uncomment and set this password if different from ORCHARD_USER_MYSQL_PASSWORD
SQUAD_MYSQL_PASSWORD_ART_RELATIONS: <%= @squad_mysql_password_art_relations %>

# Other databases are usually on the same host as `art_relations`.
SQUAD_MYSQL_HOST_DIRECT_DELIVERY: <%= @squad_mysql_host_direct_delivery %>
# Uncomment and set user if different from user specified by ORCHARD_USERNAME
SQUAD_MYSQL_USER_DIRECT_DELIVERY: <%= @squad_mysql_user_direct_delivery %>
# Uncomment and set this password if different from ORCHARD_USER_MYSQL_PASSWORD
SQUAD_MYSQL_PASSWORD_DIRECT_DELIVERY: <%= @squad_mysql_password_direct_delivery %>

#######################################
# AWS
#######################################

# You should have your own AWS key->secret pair
# NOT REQUIRED, BUT SOME PAGES MAY BE BROKEN
ORCHARD_USER_AWS_KEY: <%= @orchard_user_aws_key %>
ORCHARD_USER_AWS_SECRET: <%= @orchard_user_aws_secret %>

#######################################
# Logging / Tracking / Exception Tracing
#######################################

# Write application logging output (mostly) to console rather than sentry/fluentd/etc.
# Should just be used in dev mode.
USE_CONSOLE_LOGGING: true

# Sentry is for Exception notifications. https://getsentry.com
# Default goes to the dev-oaworkstaiton Sentry Project. https://sentry.io/the-orchard/dev-oaworkstation/
# NOT REQUIRED FOR CORE FUNCTIONALITY
ORCHARD_SENTRY_DSN: https://8e18476a040a4528977e599c991762fe:3e11cc062bda441d95e6614968b9c3b2@sentry.io/66625

# Loggly is for general logging. https://loggly.com
# LOGGLY IS BEING DEPRECATED, USE FLUENTD
ORCHARD_LOGGLY_TOKEN:

# Fluentd is for UDP-based application logging
ORCHARD_FLUENTD_LOGGER_DSN: udp://qa-fluentd-applications-udp.theorchard.io:5160

# Segment is for frontend pageview and event tracking https://segment.io
# NOT REQUIRED FOR CORE FUNCTIONALITY
ORCHARD_SEGMENT_WORKSTATION_KEY:
SEGMENT_OA_KEY:

# Mouseflow
MOUSEFLOW_WORKSTATION_FEEDBACK_ID:
MOUSEFLOW_WORKSTATION_FEEDBACK_ID_NEW:

#######################################
# Snowflake
#######################################
SNOWFLAKE_WAREHOUSE: <%= @snowflake_warehouse %>
SNOWFLAKE_USER: <%= @snowflake_user %>
SNOWFLAKE_ROLE: <%= @snowflake_role %>
SNOWFLAKE_DATABASE: facts
SNOWFLAKE_SCHEMA: qa
SNOWFLAKE_PRIVATE_KEY_PATH: <%= @snowflake_private_key_path %>
SNOWFLAKE_KEY_PASSPHRASE: <%= @snowflake_key_passphrase %>

#######################################
# SQL Relay
#######################################
# Defaults are for local sqlrelay environment
SQLRELAY_USER: sqlruser
SQLRELAY_PASSWORD: sqlrpassword
SQLRELAY_HOST: sqlrelay
SQLRELAY_PORT: 9000
SQLRELAY_IMAGE: 086679231553.dkr.ecr.us-east-1.amazonaws.com/orchard-sqlrelay:debian12

#######################################
# Auth0
#######################################
# Please replace the dummy-secrets below with actual auth0 QA tenant's secrets.
TENANT_AUTH0_API_BASE_URL: https://qa-orchard.auth0.com
TENANT_AUTH0_CONNECTION: art-relations
TENANT_AUTH0_CLIENT_ID: UwAkQHgn1qszdr59k2A3kn8FuYITQ373
TENANT_AUTH0_CLIENT_SECRET: <%= @tenant_auth0_client_secret %>
TENANT_AUTH0_MACHINE_CLIENT_ID: wRWdgVjevPBt0biegcOP52Th3cc0nTCd
TENANT_AUTH0_MACHINE_CLIENT_SECRET: <%= @tenant_auth0_machine_client_secret %>
TENANT_AUTH0_MOBILE_CLIENT_ID: p6x3MxkxR8KVTFtlY8vmgKOMIo75iqED
TENANT_AUTH0_MOBILE_CLIENT_SECRET: <%= @tenant_auth0_mobile_client_secret %>
TENANT_AUTH0_MOBILE_AUDIENCE: wRWdgVjevPBt0biegcOP52Th3cc0nTCd
TENANT_AUTH0_MOBILE_URI_SCHEME: orchard
TENANT_AUTH0_ENCRYPT_KEY: Z9sSVR3TbK3pafv2
TENANT_AUTH0_ENCRYPT_IV: AqTUK6bDY4KPxzBn # must be 16 bytes
TENANT_AUTH0_OA_CLIENT_ID: NL5emKcW44otAB3fkBzG0R4yzOO1DFWv
TENANT_AUTH0_OA_CLIENT_SECRET: <%= @tenant_auth0_oa_client_secret %>
TENANT_AUTH0_OA_DOMAIN: qalogin.theorchard.com
TENANT_AUTH0_OA_COOKIE_SECRET: 0e97141ed1395f57fe4aa91070b1a0dae98bec80a255f77c33bd5ad22cef5db7
TENANT_AUTH0_WS_COOKIE_SECRET: cecd81651289da600a2edb5d453fa4081f94f91ae46b68bdd36868d0ad44d237
TENANT_AUTH0_CALLBACK_URL: login_v2.php
TENANT_AUTH0_AUDIENCE: https://workstation.qaorch.com/api
TENANT_AUTH0_JWT_SESSION_REFRESH_INTERVAL: 900000

#######################################
# Domain Configuration
#######################################
# Uncomment and set these to explicitly set the domain names for each app.
# By default these will be automatically generated based on the value of SETUP_ENV
OA_DOMAIN_NAME: <%= @oa_domain_name %>
WS_DOMAIN_NAME: <%= @ws_domain_name %>
VAPI_DOMAIN_NAME: <%= @vapi_domain_name %>

#######################################
# Docker Configuration
#######################################
# Default value for Docker host port to map to haproxy HTTP port (dev boxes only)
DOCKER_PORT: <%= @docker_port %>
# Restart policy for Docker containers. See https://docs.docker.com/config/containers/start-containers-automatically/ for options
DOCKER_RESTART_POLICY: <%= @docker_restart_policy %>
