mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
переименован конфиг и сделан пример
This commit is contained in:
parent
ff828ff9e1
commit
633f8430fd
2 changed files with 14 additions and 10 deletions
14
src/main/resources/application-sample.yaml
Normal file
14
src/main/resources/application-sample.yaml
Normal 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
|
|
@ -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
|
Loading…
Add table
Reference in a new issue