feat(alpha): make the alpha environment available
This commit is contained in:
parent
b8aa0cf2b9
commit
59e8c06078
33
apps/notification/alpha.env
Normal file
33
apps/notification/alpha.env
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
export APP_NAME=notification
|
||||||
|
export SERVICE_API_ACCESS_HOST=0.0.0.0
|
||||||
|
export SERVICE_API_ACCESS_PORT=8014
|
||||||
|
export CONTAINER_APP_ROOT=/app
|
||||||
|
export LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME
|
||||||
|
export BACKEND_LOG_FILE_NAME=$APP_NAME
|
||||||
|
export APPLICATION_ACTIVITY_LOG=$APP_NAME-activity
|
||||||
|
export SENDGRID_API_KEY=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
|
||||||
|
export EMAIL_FROM=freeleaps@freeleaps.com
|
||||||
|
export TWILIO_ACCOUNT_SID=ACf8c9283a6acda060258eadb29be58bc8
|
||||||
|
export TWILIO_AUTH_TOKEN=ef160748cc22c8b7195b49df4b8eca7e
|
||||||
|
export SYSTEM_USER_ID=117f191e810c19729de860aa
|
||||||
|
export SMS_FROM=+16898887156
|
||||||
|
export EMAIL_FROM=freeleaps@freeleaps.com
|
||||||
|
export SECRET_KEY=ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
|
||||||
|
export GIT_REPO_ROOT=/mnt/freeleaps/freeleaps-service-hub
|
||||||
|
export CODEBASE_ROOT=/mnt/freeleaps/freeleaps-service-hub/apps/notification
|
||||||
|
export SITE_DEPLOY_FOLDER=/mnt/freeleaps/freeleaps-service-hub/sites/notification/deploy
|
||||||
|
#!/bin/bash
|
||||||
|
export VENV_DIR=venv_t
|
||||||
|
export VENV_ACTIVATE=venv_t/bin/activate
|
||||||
|
export DOCKER_HOME=/var/lib/docker
|
||||||
|
export DOCKER_APP_HOME=$DOCKER_HOME/app
|
||||||
|
export DOCKER_BACKEND_HOME=$DOCKER_APP_HOME/$APP_NAME
|
||||||
|
export DOCKER_BACKEND_LOG_HOME=$DOCKER_BACKEND_HOME/log
|
||||||
|
export RABBITMQ_HOST=localhost
|
||||||
|
export RABBITMQ_PORT=5672
|
||||||
|
#export MONGODB_URI="mongodb://localhost:27017/"
|
||||||
|
#export MONGODB_NAME="interview"
|
||||||
|
export MONGODB_URI="mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/"
|
||||||
|
export MONGODB_NAME="freeleaps2"
|
||||||
|
export FREELEAPS_ENV=local
|
||||||
|
export LOG_BASE_PATH=./log
|
||||||
@ -3,7 +3,11 @@
|
|||||||
# run the command
|
# run the command
|
||||||
|
|
||||||
cd notification
|
cd notification
|
||||||
source local.env
|
# for local environment
|
||||||
|
source local.env
|
||||||
|
python webapi/main.py &
|
||||||
|
# for alpha environment
|
||||||
|
source alpha.env
|
||||||
python webapi/main.py &
|
python webapi/main.py &
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user