-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
création des dockerfiles et du docker compose modification des pom.xml pour la bonne génération des archives .jar. l'application se lance bien dans docker problème à résoudre : pour http://192.168.99.100:8081/newPlayer: There was an unexpected error (type=Internal Server Error, status=500). I/O error on GET request for "http://localhost:8080/lDnLeVrZVm/Connect": Connection refused (Connection refused) piste de réfléxion : modifier automatiquement "localhost" par le host de la machine qui lance l'application que ce soit localhost ou une machine virtuelle. puisque "http://192.168.99.100:8080/lDnLeVrZVm/Connect" fontionne. #28
- Loading branch information
ChloeMaccarinelli
committed
Apr 21, 2019
1 parent
cfdc252
commit ac40c17
Showing
9 changed files
with
186 additions
and
3 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
Binary file not shown.
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,19 @@ | ||
version: '3' | ||
services: | ||
|
||
serveur: | ||
image: serveur | ||
restart: always | ||
build: serveur/Dockerfile | ||
ports: | ||
- "8080:8080" | ||
|
||
|
||
joueur: | ||
image: joueur | ||
restart: always | ||
build: joueur/Dockerfile | ||
ports: | ||
- "8081:8081" | ||
|
||
|
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,4 @@ | ||
FROM java:8 | ||
EXPOSE 8081 | ||
ADD target/joueur-1.0.jar joueur-1.0.jar | ||
CMD ["java","-jar","joueur-1.0.jar"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM java:8 | ||
EXPOSE 8080 | ||
ADD target/serveur-1.0.jar serveur-1.0.jar | ||
CMD ["java","-jar","serveur-1.0.jar"] |
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