Stop tracking config.yaml and document config via example file

config.yaml carried real secrets (jwt_key, DB password) despite already
being listed in .gitignore. Untrack it, add config.example.yaml with
placeholder values, and point the README setup steps at the example file.
This commit is contained in:
2026-07-08 12:53:02 +05:00
parent 4350915b30
commit 1337175e5d
4 changed files with 17 additions and 37 deletions

15
config.example.yaml Normal file
View File

@@ -0,0 +1,15 @@
is_debug: true
listen:
type: port
bind_ip: 0.0.0.0
port: 5050
jwt_key: <your-jwt-secret>
storage:
host: example-db # use localhost when running outside Docker
port: 5432
database: example_db
username: example_username
password: <your-db-password>
pg_pool_max_conn: 10
app_version: 0.0.1
public_file_path: ./public