Files
spring-boot-rest/quarkus-modules/quarkus-vs-springboot/spring-project/src/main/docker/spring.yml
Thiago dos Santos Hora 04ec3d81d3 [BAEL-5631] Quarkus vs Spring boot improvements (#12520)
* Initial impl

* Update framework versions testing from jm to wrk

* Add hyperfoil

* Add hyperfoil read me
2022-07-30 14:26:16 +02:00

27 lines
721 B
YAML

version: '3.1'
services:
db:
image: mysql:5.7.38
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: baeldung
command: [ 'mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ]
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
app:
image: docker.io/library/spring-project:0.1-SNAPSHOT
network_mode: "host"
environment:
DB_URL: r2dbc:mysql://localhost:3306/baeldung?useSSL=true&requireSSL=true
HOST_HOSTNAME: ${EXTERNAL_IP}
depends_on:
db:
condition: service_healthy
deploy:
resources:
limits:
cpus: '3.00'