-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
439 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/bash | ||
|
||
MONGO_HOSTNAME="mongo" | ||
MONGO_PORT=27017 | ||
DOMAIN="default.svc.cluster.local" | ||
|
||
mvn -Dmaven.test.skip=true \ | ||
-Duser.mongo.hostname=$MONGO_HOSTNAME \ | ||
-Duser.mongo.port=$MONGO_PORT \ | ||
-Duser.http.port=9080 \ | ||
-Duser.https.port=9443 \ | ||
-Duser.hostname=user.$DOMAIN \ | ||
-Dgroup.mongo.hostname=$MONGO_HOSTNAME \ | ||
-Dgroup.mongo.port=$MONGO_PORT \ | ||
-Dgroup.http.port=9080 \ | ||
-Dgroup.https.port=9443 \ | ||
-Dgroup.hostname=group.$DOMAIN \ | ||
-Doccasion.mongo.hostname=$MONGO_HOSTNAME \ | ||
-Doccasion.mongo.port=$MONGO_PORT \ | ||
-Doccasion.http.port=9080 \ | ||
-Doccasion.https.port=9443 \ | ||
-Doccasion.hostname=occasion.$DOMAIN \ | ||
-Dnotification.http.port=9080 \ | ||
-Dnotification.https.port=9443 \ | ||
-Dnotification.hostname=notification.$DOMAIN \ | ||
-Dnotification_1_1.http.port=9080 \ | ||
-Dnotification_1_1.https.port=9443 \ | ||
-Dnotification_1_1.hostname=notification11.$DOMAIN \ | ||
-Dfrontend.http.port=9080 \ | ||
-Dfrontend.https.port=9443 \ | ||
-Dfrontend.hostname=frontend.$DOMAIN \ | ||
-Dauth.http.port=9080 \ | ||
-Dauth.https.port=9443 \ | ||
-Dauth.hostname=auth.$DOMAIN \ | ||
clean package install | ||
|
||
NAMESPACE="acmegifts" | ||
docker build -t $NAMESPACE/front-end-ui:latest front-end-ui | ||
docker build -t $NAMESPACE/microservice-auth:latest microservice-auth | ||
docker build -t $NAMESPACE/microservice-group:latest microservice-group | ||
docker build -t $NAMESPACE/microservice-notification:latest microservice-notification | ||
docker build -t $NAMESPACE/microservice-notification-v1-1:latest microservice-notification_v1_1 | ||
docker build -t $NAMESPACE/microservice-occasion:latest microservice-occasion | ||
docker build -t $NAMESPACE/microservice-user:latest microservice-user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
NAMESPACE="acmegifts" | ||
docker push $NAMESPACE/front-end-ui:latest | ||
docker push $NAMESPACE/microservice-auth:latest | ||
docker push $NAMESPACE/microservice-group:latest | ||
docker push $NAMESPACE/microservice-notification:latest | ||
docker push $NAMESPACE/microservice-notification-v1-1:latest | ||
docker push $NAMESPACE/microservice-occasion:latest | ||
docker push $NAMESPACE/microservice-user:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM openliberty/open-liberty | ||
COPY target/liberty/wlp/usr/servers/UIServer /config | ||
RUN sed -i -e 's/httpEndpoint/httpEndpoint host="*"/g' /config/server.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.