{ "server": { "host": "0.0.0.0", "port": 8080, "trust_proxy": false }, "auth": { "issuer": "joplin-cli-gateway", "audience": "joplin-cli-gateway-api", "token_ttl_seconds": 3600 }, "joplin": { "executable": "joplin", "profile_dir": "/profile", "api_host": "127.0.0.1", "api_port": 41184, "api_token": "replace-with-a-random-32-character-token", "command_timeout_ms": 300000, "server_start_timeout_ms": 30000, "periodic_sync_seconds": 60 }, "state_file": "/state/gateway-state.json", "clients": [ { "client_id": "example-reader", "enabled": true, "client_secret": "replace-this-development-secret", "permissions": { "full_access": false, "create_notebooks": false, "create_tags": false, "notebooks": [ { "notebook_id": "replace-with-a-joplin-notebook-id", "access": "read" } ] } } ] }