Skip to content

Commit

Permalink
Use Sarthi conf template to setup proxy conf (#18)
Browse files Browse the repository at this point in the history
* add sarthi.conf template

* remove -i from sed command
  • Loading branch information
tushar5526 authored Jan 18, 2024
1 parent faa7b56 commit cb291eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ venv.bak/

deployments/*
nginx-confs/*
*keys.txt
*keys.txt

# Ignore the nginx conf for sarthi
sarthi.conf
File renamed without changes.
2 changes: 1 addition & 1 deletion setup-sarthi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ echo "ENV='$ENV'" >> .env
echo "DOMAIN_NAME='$DOMAIN_NAME'" >> .env
echo "SECRET_TEXT='$SECRET_TEXT'" >> .env

sed -i "s/domain_name/$DOMAIN_NAME/g" "sarthi.conf"
sed "s/domain_name/$DOMAIN_NAME/g" "sarthi.conf.template" > "sarthi.conf"

# Start Grafaa + Loki services
echo -e "${YELLOW}${POINT} Starting Loki + Grafana to export logs ${NC}"
Expand Down

0 comments on commit cb291eb

Please sign in to comment.