Skip to content

Commit

Permalink
fix to dev container issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbilgi committed Aug 10, 2024
1 parent 08ed779 commit bfb03ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup_devcontainer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ echo "ASTRA_DB_KEYSPACE=$ASTRA_DB_KEYSPACE" >> .env
echo "ASTRA_DB_ID=$ASTRA_DB_ID" >> .env
echo "DATASTAX_ASTRA_PASSWORD=$DATASTAX_ASTRA_PASSWORD" >> .env
echo "DATASTAX_ASTRA_SCB_NAME=$DATASTAX_ASTRA_SCB_NAME" >> .env

. .env

./dockersetup.sh

mvn package -DskipTests=true && mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=${SERVER_PORT} --datastax.astra.username=${ASTRA_DB_USERNAME} --datastax.astra.password=${DATASTAX_ASTRA_PASSWORD} --datastax.astra.keyspace=${ASTRA_DB_KEYSPACE} --datastax.astra.secure-connect-bundle=${DATASTAX_ASTRA_SCB_NAME}"

0 comments on commit bfb03ca

Please sign in to comment.