mirror of
https://github.com/pischule/memevizor.git
synced 2026-02-04 00:50:52 +00:00
Replace properties config with yaml
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -41,6 +41,7 @@ out/
|
||||
|
||||
|
||||
src/main/resources/application-local.properties
|
||||
src/main/resources/application-local.yaml
|
||||
|
||||
src/main/resources/static
|
||||
!src/main/resources/static/index.html
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
bot.forward-chat-id=<?>
|
||||
bot.approver-user-ids[0]=<?>
|
||||
bot.token=
|
||||
s3.endpoint=https://storage.yandexcloud.net
|
||||
s3.region=ru-central1
|
||||
s3.bucket=memevizor-test
|
||||
s3.access-key-id=<?>
|
||||
s3.secret-access-key=<?>
|
||||
11
src/main/resources/application-local.yaml.dist
Normal file
11
src/main/resources/application-local.yaml.dist
Normal file
@@ -0,0 +1,11 @@
|
||||
bot:
|
||||
forward-chat-id: <?>
|
||||
approver-user-ids:
|
||||
- <?>
|
||||
token: <?>
|
||||
s3:
|
||||
endpoint: https://storage.yandexcloud.net
|
||||
region: ru-central1
|
||||
bucket: memevizor-test
|
||||
access-key-id: <?>
|
||||
secret-access-key: <?>
|
||||
@@ -1,2 +0,0 @@
|
||||
spring.application.name=memevizor
|
||||
management.server.port=7900
|
||||
2
src/main/resources/application.yaml
Normal file
2
src/main/resources/application.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
spring.application.name: memevizor
|
||||
management.server.port: 7900
|
||||
Reference in New Issue
Block a user