-
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.
- Loading branch information
1 parent
ee9db6b
commit e3910c8
Showing
8 changed files
with
76 additions
and
56 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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
sudo: required | ||
|
||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
env: | ||
DOCKER_COMPOSE_VERSION: 1.20.1 | ||
DOCKER_COMPOSE_VERSION: 1.24.0 | ||
|
||
services: | ||
- docker | ||
- docker | ||
|
||
script: | ||
- cd serveur && docker build -f Dockerfile -t serveur . | ||
- cd ../joueur && docker build -f Dockerfile -t joueur . | ||
- docker-compose up -d | ||
- docker-compose ps | ||
- cd serveur && docker build -f Dockerfile -t serveur . | ||
- cd ../joueur && docker build -f Dockerfile -t joueur . | ||
- docker-compose ps | ||
- docker-compose up -d |
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 |
---|---|---|
@@ -1,17 +1,24 @@ | ||
version: '3' | ||
version: '3.3' | ||
services: | ||
|
||
serveur: | ||
image: serveur | ||
restart: always | ||
ports: | ||
- "8080:8080" | ||
- "8080:8080" | ||
networks: | ||
- network1 | ||
|
||
|
||
joueur: | ||
image: joueur | ||
restart: always | ||
ports: | ||
- "8081:8081" | ||
|
||
- "8081:8081" | ||
depends_on: | ||
- serveur | ||
networks: | ||
- network1 | ||
|
||
networks: | ||
network1: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
server.address=127.0.0.1 | ||
server.port= 8081 | ||
server.port=8081 | ||
#The maximum queue length for incoming connection requests when all possible request | ||
#processing threads are in use. Any requests received when the queue is full will be refused. | ||
#The default value is 100. | ||
server.tomcat.accept-count=10000 | ||
#The maximum number of request processing threads to be created by this Connector, | ||
#which therefore determines the maximum number of simultaneous requests that can be handled. | ||
#If not specified, this attribute is set to 200. | ||
server.tomcat.max-threads=10000 | ||
#The number of request processing threads that will be created when this Connector is first started. | ||
#The connector will also make sure it has the specified number of idle processing threads available. | ||
#This attribute should be set to a value smaller than that set for maxThreads. The default value is 4. | ||
server.tomcat.min-spare-threads=50 | ||
# number of I/O threads to create for the worker | ||
server.undertow.io-threads=8 | ||
# number of worker threads = io * 8 | ||
server.undertow.worker-threads=64 |
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 |
---|---|---|
@@ -1,2 +1,17 @@ | ||
server.address=127.0.0.1 | ||
server.port= 8080 | ||
server.port=8080 | ||
#The maximum queue length for incoming connection requests when all possible request | ||
#processing threads are in use. Any requests received when the queue is full will be refused. | ||
#The default value is 100. | ||
server.tomcat.accept-count=10000 | ||
#The maximum number of request processing threads to be created by this Connector, | ||
#which therefore determines the maximum number of simultaneous requests that can be handled. | ||
#If not specified, this attribute is set to 200. | ||
server.tomcat.max-threads=10000 | ||
#The number of request processing threads that will be created when this Connector is first started. | ||
#The connector will also make sure it has the specified number of idle processing threads available. | ||
#This attribute should be set to a value smaller than that set for maxThreads. The default value is 4. | ||
server.tomcat.min-spare-threads=50 | ||
# number of I/O threads to create for the worker | ||
server.undertow.io-threads=8 | ||
# number of worker threads = io * 8 | ||
server.undertow.worker-threads=64 |