From 633f8430fdb9cbe99ce511e09a852de96c908bdb Mon Sep 17 00:00:00 2001 From: Redume Date: Thu, 18 Apr 2024 21:20:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8?= =?UTF-8?q?=D0=B3=20=D0=B8=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BD=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=BC=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-sample.yaml | 14 ++++++++++++++ src/main/resources/application.yaml | 10 ---------- 2 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 src/main/resources/application-sample.yaml delete mode 100644 src/main/resources/application.yaml diff --git a/src/main/resources/application-sample.yaml b/src/main/resources/application-sample.yaml new file mode 100644 index 0000000..0d04e86 --- /dev/null +++ b/src/main/resources/application-sample.yaml @@ -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 \ No newline at end of file diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml deleted file mode 100644 index 1de080e..0000000 --- a/src/main/resources/application.yaml +++ /dev/null @@ -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 \ No newline at end of file