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:
15
config.example.yaml
Normal file
15
config.example.yaml
Normal 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
|
||||
Reference in New Issue
Block a user