Skip to content

Commit

Permalink
update deploy.sh script to set JWT_SECRET
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Nov 11, 2024
1 parent 666a606 commit d06866e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ cp .env.example .env
sed -i 's/COMPOSE_PROJECT_NAME=demo/COMPOSE_PROJECT_NAME=prod-dats/' .env
sed -i 's/CELERY_DEBUG_PORT=45678/CELERY_DEBUG_PORT=10178/' .env
sed -i 's/131/101/g' .env
sed -i "s/JWT_SECRET=/JWT_SECRET=$(pwgen 32 1)/" .env

# pull & start docker containers
docker compose pull
docker compose up -d
docker compose up --wait

0 comments on commit d06866e

Please sign in to comment.