переименован конфиг и сделан пример

This commit is contained in:
Данил 2024-04-18 21:20:04 +03:00
parent ff828ff9e1
commit 633f8430fd
2 changed files with 14 additions and 10 deletions

View file

@ -0,0 +1,14 @@
ktor:
deployment:
host: "localhost"
port: 8080
application:
modules:
- su.redume.ApplicationKt.module
database:
jdbcURL: "jdbc:postgresql://localhost:5432"
database: "DATABASE_NAME"
user: "DATABASE_USER"
password: "DATABASE_PASSWORD"
maxPoolSize: 50
autoCommit: false

View file

@ -1,10 +0,0 @@
ktor:
port: 3000
host: localhost
database:
jdbcURL: "jdbc:postgresql://localhost:5432"
database: "DATABASE_NAME"
user: "DATABASE_USER"
password: "DATABASE_PASSWORD"
maxPoolSize: 50
autoCommit: false