{"action":"created","issue":{"url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/30","repository_url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc","labels_url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/30/comments","events_url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/30/events","html_url":"https://github.com/btcpayserver/btcpayserver-doc/pull/30","id":363657318,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDM3OTQy","number":30,"title":"[docs] Add how to use existing bitcoin data_dir for the btcpay docker","user":{"login":"BobleChinois","id":11726747,"node_id":"MDQ6VXNlcjExNzI2NzQ3","avatar_url":"https://avatars3.githubusercontent.com/u/11726747?v=4","gravatar_id":"","url":"https://api.github.com/users/BobleChinois","html_url":"https://github.com/BobleChinois","followers_url":"https://api.github.com/users/BobleChinois/followers","following_url":"https://api.github.com/users/BobleChinois/following{/other_user}","gists_url":"https://api.github.com/users/BobleChinois/gists{/gist_id}","starred_url":"https://api.github.com/users/BobleChinois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobleChinois/subscriptions","organizations_url":"https://api.github.com/users/BobleChinois/orgs","repos_url":"https://api.github.com/users/BobleChinois/repos","events_url":"https://api.github.com/users/BobleChinois/events{/privacy}","received_events_url":"https://api.github.com/users/BobleChinois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-25T16:09:01Z","updated_at":"2018-09-28T13:15:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/pulls/30","html_url":"https://github.com/btcpayserver/btcpayserver-doc/pull/30","diff_url":"https://github.com/btcpayserver/btcpayserver-doc/pull/30.diff","patch_url":"https://github.com/btcpayserver/btcpayserver-doc/pull/30.patch"},"body":"I suggested in an [issue on btcpayserver-docker](https://github.com/btcpayserver/btcpayserver-docker/issues/34) that we find a way to use an already synced blockchain with BTCPay when possible.\r\n\r\nThe point is to allow people that already run a node to avoid a long and costly resync and leverage the work already done for their BTCPay full node.\r\n\r\nI made a few modifications to `docker-compose.generated.yml`, and made BTCPay mount my existing `.bitcoin` directory instead of the docker volume `bitcoin_datadir`.\r\n\r\nIt doesn't seem to represent any risk, I was able to reuse the same directory with plain `bitcoind` thereafter, and then again with BTCPay without issue.\r\n\r\nI propose this very easy \"how to\" as an addition to the FAQ, waiting maybe for a more durable solution one day. "},"comment":{"url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/comments/425431923","html_url":"https://github.com/btcpayserver/btcpayserver-doc/pull/30#issuecomment-425431923","issue_url":"https://api.github.com/repos/btcpayserver/btcpayserver-doc/issues/30","id":425431923,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQzMTkyMw==","user":{"login":"NicolasDorier","id":3020646,"node_id":"MDQ6VXNlcjMwMjA2NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/3020646?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolasDorier","html_url":"https://github.com/NicolasDorier","followers_url":"https://api.github.com/users/NicolasDorier/followers","following_url":"https://api.github.com/users/NicolasDorier/following{/other_user}","gists_url":"https://api.github.com/users/NicolasDorier/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasDorier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasDorier/subscriptions","organizations_url":"https://api.github.com/users/NicolasDorier/orgs","repos_url":"https://api.github.com/users/NicolasDorier/repos","events_url":"https://api.github.com/users/NicolasDorier/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasDorier/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T13:15:27Z","updated_at":"2018-09-28T13:15:27Z","author_association":"CONTRIBUTOR","body":"awesome"}}
{"actor":{"display_login":"NicolasDorier"}}