It's abandoned nth version of IAtaaa platform. The API is functional.
- Docker
- Docker-Compose
Use ./mvnw command instead of mvn if you haven't Maven.
Execute in the root directory to build maven project and deploy in docker container:
mvn clean package
docker-compose up -dList of deployed services :
| Service name | address |
|---|---|
| aiPlayer database | 172.16.0.15:3306 |
| aiPlayer | 172.16.0.20:8080 |
Execute in the root directory to run a mysql database:
cd docker-compose-dev
docker-compose -f docker-compose.aiplayer.yml up -dTo run aiPlayer-service, you should add environment variable :
| Environment variable | Value |
|---|---|
| DB_IP | 172.16.0.15 |
| DB_PORT | 3306 |
| DB_DATABASE | iataaa |
| DB_USER | iataaa |
| DB_PASSWORD | password |
For example, you can run aiPlayer-service like that:
mvn spring-boot:run -DDB_IP=172.16.0.15 -DDB_PORT=3306 -DDB_DATABASE=iataaa -DDB_USER=iataaa -DDB_PASSWORD=passwordOpen http://localhost:8080 in your browser
The api documentation accessible at http://localhost:8080/swagger-ui.html
We test a micro-service architecture. Actually we have only one service.
You can manage artificial intelligence informations like its ip, port, difficulty etc...
- Anthony GODIN gdn.anthony@gmail.com