Skip to content

Commit

Permalink
Update deploy script (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj authored Mar 5, 2024
1 parent e3edc86 commit f78f129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ $ssh_command "docker system prune -f || echo 'No images to delete'"

echo "INFO: starting docker container"
$ssh_command "docker run --name captn-backend \
-p 8080:8080 -p $PORT:$PORT -v /etc/letsencrypt/:/etc/letsencrypt/ -e PORT='$PORT' -e DATABASE_URL='$DATABASE_URL' -e CLIENT_SECRET='$CLIENT_SECRET' \
-p 8080:8080 -p 443:443 -p $PORT:$PORT -v /etc/letsencrypt/:/etc/letsencrypt/ -v /etc/ssl/:/etc/ssl/ \
-e PORT='$PORT' -e DATABASE_URL='$DATABASE_URL' -e CLIENT_SECRET='$CLIENT_SECRET' \
-e DEVELOPER_TOKEN='$DEVELOPER_TOKEN' \
-e AZURE_API_VERSION='$AZURE_API_VERSION' -e AZURE_API_ENDPOINT='$AZURE_API_ENDPOINT' \
-e AZURE_GPT4_MODEL='$AZURE_GPT4_MODEL' -e AZURE_GPT35_MODEL='$AZURE_GPT35_MODEL' \
Expand Down

0 comments on commit f78f129

Please sign in to comment.