Skip to content

Commit 959f45e

Browse files
authored
Merge pull request #34 from Halbes-Byte/improved-start-script
All in one start script
2 parents 21b730a + 7a505fa commit 959f45e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

start-den-aal.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
docker compose down
2+
docker rm -f study-buddies-backend
3+
docker compose up -d
4+
sleep 30
5+
docker run \
6+
--name study-buddies-backend \
7+
--network host \
8+
-e SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT_ID=sb-backend \
9+
-e SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_SCOPE=openid \
10+
-e SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_KEYCLOAK_ISSUER_URI=http://localhost:7070/realms/study-buddies \
11+
-e SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI=http://localhost:7070/realms/study-buddies \
12+
panderu/study-buddies-backend

0 commit comments

Comments
 (0)