Deployment
This commit is contained in:
parent
86bf3ffb15
commit
c8716c3fe1
3 changed files with 39 additions and 7 deletions
29
fly.toml
Normal file
29
fly.toml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# fly.toml app configuration file generated for mstats on 2025-05-14T19:12:13+02:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
app = 'mstats'
|
||||||
|
# https://fly.io/docs/about/pricing/
|
||||||
|
primary_region = 'ewr'
|
||||||
|
|
||||||
|
[http_service]
|
||||||
|
internal_port = 8080
|
||||||
|
force_https = true
|
||||||
|
auto_stop_machines = 'suspend'
|
||||||
|
auto_start_machines = true
|
||||||
|
min_machines_running = 1
|
||||||
|
processes = ['app']
|
||||||
|
|
||||||
|
[[http_service.checks]]
|
||||||
|
interval = '30s'
|
||||||
|
timeout = '5s'
|
||||||
|
grace_period = '10s'
|
||||||
|
method = 'GET'
|
||||||
|
path = '/api/info'
|
||||||
|
|
||||||
|
[build]
|
||||||
|
dockerfile = "src/main/docker/Dockerfile.native-micro"
|
||||||
|
|
||||||
|
[[vm]]
|
||||||
|
size = 'shared-cpu-1x'
|
||||||
5
pom.xml
5
pom.xml
|
|
@ -23,7 +23,6 @@
|
||||||
<skipITs>true</skipITs>
|
<skipITs>true</skipITs>
|
||||||
|
|
||||||
<!-- release config -->
|
<!-- release config -->
|
||||||
<executable-suffix/>
|
|
||||||
<distribution.directory>${project.build.directory}/distributions</distribution.directory>
|
<distribution.directory>${project.build.directory}/distributions</distribution.directory>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
@ -76,6 +75,10 @@
|
||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
<artifactId>quarkus-scheduler</artifactId>
|
<artifactId>quarkus-scheduler</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.quarkus</groupId>
|
||||||
|
<artifactId>quarkus-jdbc-postgresql</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
<artifactId>quarkus-junit5</artifactId>
|
<artifactId>quarkus-junit5</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
quarkus.hibernate-orm.database.generation = update
|
quarkus.hibernate-orm.database.generation = update
|
||||||
|
|
||||||
quarkus.datasource.db-kind = h2
|
quarkus.datasource.db-kind = postgresql
|
||||||
quarkus.datasource.username = username-default
|
|
||||||
quarkus.datasource.jdbc.url = jdbc:h2:./db:default
|
%test.quarkus.datasource.db-kind = h2
|
||||||
quarkus.datasource.jdbc.max-size = 13
|
%test.quarkus.datasource.username = username-default
|
||||||
|
%test.quarkus.datasource.jdbc.url = jdbc:h2:./db:default
|
||||||
|
%test.quarkus.datasource.jdbc.max-size = 13
|
||||||
|
|
||||||
quarkus.container-image.registry = git.m724.eu
|
quarkus.container-image.registry = git.m724.eu
|
||||||
quarkus.container-image.group = Minecon724
|
quarkus.container-image.group = Minecon724
|
||||||
|
|
||||||
quarkus.http.host = [::1]
|
|
||||||
|
|
||||||
mstats.admin.token =
|
mstats.admin.token =
|
||||||
Loading…
Add table
Add a link
Reference in a new issue