{
	"issue": {
		"url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
		"repository_url": "https://api.github.com/repos/laurent22/joplin",
		"labels_url": "https://api.github.com/repos/laurent22/joplin/issues/12563/labels{/name}",
		"comments_url": "https://api.github.com/repos/laurent22/joplin/issues/12563/comments",
		"events_url": "https://api.github.com/repos/laurent22/joplin/issues/12563/events",
		"html_url": "https://github.com/laurent22/joplin/pull/12563",
		"id": 3158268550,
		"node_id": "PR_kwDOBLftOs6bJoeN",
		"number": 12563,
		"title": "Webapp docker image",
		"user": {
			"login": "Robin-Sch",
			"id": 46354497,
			"node_id": "MDQ6VXNlcjQ2MzU0NDk3",
			"avatar_url": "https://avatars.githubusercontent.com/u/46354497?v=4",
			"gravatar_id": "",
			"url": "https://api.github.com/users/Robin-Sch",
			"html_url": "https://github.com/Robin-Sch",
			"followers_url": "https://api.github.com/users/Robin-Sch/followers",
			"following_url": "https://api.github.com/users/Robin-Sch/following{/other_user}",
			"gists_url": "https://api.github.com/users/Robin-Sch/gists{/gist_id}",
			"starred_url": "https://api.github.com/users/Robin-Sch/starred{/owner}{/repo}",
			"subscriptions_url": "https://api.github.com/users/Robin-Sch/subscriptions",
			"organizations_url": "https://api.github.com/users/Robin-Sch/orgs",
			"repos_url": "https://api.github.com/users/Robin-Sch/repos",
			"events_url": "https://api.github.com/users/Robin-Sch/events{/privacy}",
			"received_events_url": "https://api.github.com/users/Robin-Sch/received_events",
			"type": "User",
			"user_view_type": "public",
			"site_admin": false
		},
		"labels": [],
		"state": "closed",
		"locked": false,
		"assignee": null,
		"assignees": [],
		"milestone": null,
		"comments": 6,
		"created_at": "2025-06-18T21:51:46Z",
		"updated_at": "2025-06-28T21:11:37Z",
		"closed_at": "2025-06-28T19:23:56Z",
		"author_association": "NONE",
		"active_lock_reason": null,
		"draft": false,
		"pull_request": {
			"url": "https://api.github.com/repos/laurent22/joplin/pulls/12563",
			"html_url": "https://github.com/laurent22/joplin/pull/12563",
			"diff_url": "https://github.com/laurent22/joplin/pull/12563.diff",
			"patch_url": "https://github.com/laurent22/joplin/pull/12563.patch",
			"merged_at": null
		},
		"body": "This PR introduces a Docker image to run the webapp (https://app.joplincloud.com/).\r\n\r\nPersonally, I like to self-host all the services I use, including joplin (server). However, if I want to self-host joplin webapp right now I need to manually build it and copy over the static files, after which I need to configure my reverse proxy to host those static files.\r\n\r\n(Or use something like https://github.com/Lanjelin/Joplin-docker, which runs the desktop app inside of Docker using kasmvnc, but it's not 100% user friendly like the native method is)\r\n\r\nThis does not integrate well into my homelab setup, so therefore I created a Docker image (for myself) to run the webapp. As some other users might also want to do this, here you go!\r\n\r\n",
		"closed_by": {
			"login": "laurent22",
			"id": 1285584,
			"node_id": "MDQ6VXNlcjEyODU1ODQ=",
			"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
			"gravatar_id": "",
			"url": "https://api.github.com/users/laurent22",
			"html_url": "https://github.com/laurent22",
			"followers_url": "https://api.github.com/users/laurent22/followers",
			"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
			"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
			"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
			"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
			"organizations_url": "https://api.github.com/users/laurent22/orgs",
			"repos_url": "https://api.github.com/users/laurent22/repos",
			"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
			"received_events_url": "https://api.github.com/users/laurent22/received_events",
			"type": "User",
			"user_view_type": "public",
			"site_admin": false
		},
		"reactions": {
			"url": "https://api.github.com/repos/laurent22/joplin/issues/12563/reactions",
			"total_count": 0,
			"+1": 0,
			"-1": 0,
			"laugh": 0,
			"hooray": 0,
			"confused": 0,
			"heart": 0,
			"rocket": 0,
			"eyes": 0
		},
		"timeline_url": "https://api.github.com/repos/laurent22/joplin/issues/12563/timeline",
		"performed_via_github_app": null,
		"state_reason": null
	},
	"comments": [
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2985794046",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-2985794046",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 2985794046,
			"node_id": "IC_kwDOBLftOs6x95n-",
			"user": {
				"login": "github-actions[bot]",
				"id": 41898282,
				"node_id": "MDM6Qm90NDE4OTgyODI=",
				"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/github-actions%5Bbot%5D",
				"html_url": "https://github.com/apps/github-actions",
				"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
				"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
				"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
				"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
				"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
				"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
				"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
				"type": "Bot",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-18T21:51:58Z",
			"updated_at": "2025-06-28T21:11:37Z",
			"author_association": "CONTRIBUTOR",
			"body": "****CLA Assistant Lite bot**** All contributors have signed the CLA  ✍️ ✅",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2985794046/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": {
				"id": 15368,
				"client_id": "Iv1.05c79e9ad1f6bdfa",
				"slug": "github-actions",
				"node_id": "MDM6QXBwMTUzNjg=",
				"owner": {
					"login": "github",
					"id": 9919,
					"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
					"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
					"gravatar_id": "",
					"url": "https://api.github.com/users/github",
					"html_url": "https://github.com/github",
					"followers_url": "https://api.github.com/users/github/followers",
					"following_url": "https://api.github.com/users/github/following{/other_user}",
					"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
					"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
					"subscriptions_url": "https://api.github.com/users/github/subscriptions",
					"organizations_url": "https://api.github.com/users/github/orgs",
					"repos_url": "https://api.github.com/users/github/repos",
					"events_url": "https://api.github.com/users/github/events{/privacy}",
					"received_events_url": "https://api.github.com/users/github/received_events",
					"type": "Organization",
					"user_view_type": "public",
					"site_admin": false
				},
				"name": "GitHub Actions",
				"description": "Automate your workflow from idea to production",
				"external_url": "https://help.github.com/en/actions",
				"html_url": "https://github.com/apps/github-actions",
				"created_at": "2018-07-30T09:30:17Z",
				"updated_at": "2025-03-07T16:35:00Z",
				"permissions": {
					"actions": "write",
					"administration": "read",
					"attestations": "write",
					"checks": "write",
					"contents": "write",
					"deployments": "write",
					"discussions": "write",
					"issues": "write",
					"merge_queues": "write",
					"metadata": "read",
					"models": "read",
					"packages": "write",
					"pages": "write",
					"pull_requests": "write",
					"repository_hooks": "write",
					"repository_projects": "write",
					"security_events": "write",
					"statuses": "write",
					"vulnerability_alerts": "read"
				},
				"events": [
					"branch_protection_rule",
					"check_run",
					"check_suite",
					"create",
					"delete",
					"deployment",
					"deployment_status",
					"discussion",
					"discussion_comment",
					"fork",
					"gollum",
					"issues",
					"issue_comment",
					"label",
					"merge_group",
					"milestone",
					"page_build",
					"project",
					"project_card",
					"project_column",
					"public",
					"pull_request",
					"pull_request_review",
					"pull_request_review_comment",
					"push",
					"registry_package",
					"release",
					"repository",
					"repository_dispatch",
					"status",
					"watch",
					"workflow_dispatch",
					"workflow_run"
				]
			}
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2985794500",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-2985794500",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 2985794500,
			"node_id": "IC_kwDOBLftOs6x95vE",
			"user": {
				"login": "Robin-Sch",
				"id": 46354497,
				"node_id": "MDQ6VXNlcjQ2MzU0NDk3",
				"avatar_url": "https://avatars.githubusercontent.com/u/46354497?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/Robin-Sch",
				"html_url": "https://github.com/Robin-Sch",
				"followers_url": "https://api.github.com/users/Robin-Sch/followers",
				"following_url": "https://api.github.com/users/Robin-Sch/following{/other_user}",
				"gists_url": "https://api.github.com/users/Robin-Sch/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/Robin-Sch/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/Robin-Sch/subscriptions",
				"organizations_url": "https://api.github.com/users/Robin-Sch/orgs",
				"repos_url": "https://api.github.com/users/Robin-Sch/repos",
				"events_url": "https://api.github.com/users/Robin-Sch/events{/privacy}",
				"received_events_url": "https://api.github.com/users/Robin-Sch/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-18T21:52:16Z",
			"updated_at": "2025-06-18T21:52:16Z",
			"author_association": "NONE",
			"body": "I have read the CLA Document and I hereby sign the CLA",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2985794500/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2986898431",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-2986898431",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 2986898431,
			"node_id": "IC_kwDOBLftOs6yCHP_",
			"user": {
				"login": "compgeniuses",
				"id": 16150798,
				"node_id": "MDQ6VXNlcjE2MTUwNzk4",
				"avatar_url": "https://avatars.githubusercontent.com/u/16150798?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/compgeniuses",
				"html_url": "https://github.com/compgeniuses",
				"followers_url": "https://api.github.com/users/compgeniuses/followers",
				"following_url": "https://api.github.com/users/compgeniuses/following{/other_user}",
				"gists_url": "https://api.github.com/users/compgeniuses/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/compgeniuses/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/compgeniuses/subscriptions",
				"organizations_url": "https://api.github.com/users/compgeniuses/orgs",
				"repos_url": "https://api.github.com/users/compgeniuses/repos",
				"events_url": "https://api.github.com/users/compgeniuses/events{/privacy}",
				"received_events_url": "https://api.github.com/users/compgeniuses/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-19T07:08:04Z",
			"updated_at": "2025-06-19T07:08:04Z",
			"author_association": "NONE",
			"body": "Thank you for this.",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2986898431/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2987239904",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-2987239904",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 2987239904,
			"node_id": "IC_kwDOBLftOs6yDang",
			"user": {
				"login": "Robin-Sch",
				"id": 46354497,
				"node_id": "MDQ6VXNlcjQ2MzU0NDk3",
				"avatar_url": "https://avatars.githubusercontent.com/u/46354497?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/Robin-Sch",
				"html_url": "https://github.com/Robin-Sch",
				"followers_url": "https://api.github.com/users/Robin-Sch/followers",
				"following_url": "https://api.github.com/users/Robin-Sch/following{/other_user}",
				"gists_url": "https://api.github.com/users/Robin-Sch/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/Robin-Sch/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/Robin-Sch/subscriptions",
				"organizations_url": "https://api.github.com/users/Robin-Sch/orgs",
				"repos_url": "https://api.github.com/users/Robin-Sch/repos",
				"events_url": "https://api.github.com/users/Robin-Sch/events{/privacy}",
				"received_events_url": "https://api.github.com/users/Robin-Sch/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-19T08:43:02Z",
			"updated_at": "2025-06-19T08:43:02Z",
			"author_association": "NONE",
			"body": "I used\r\n```\r\nCOPY --from=builder /build/packages/app-mobile/webapp-nginx.conf /etc/nginx/conf.d/default.conf\r\n``` \r\ninstead of\r\n```\r\nCOPY packages/app-mobile/webapp-nginx.conf /etc/nginx/conf.d/default.conf\r\n```\r\nin case people want to run `git clone https://github.com/laurent22/joplin --depth=1` in their Dockerfile (which allows for stand-alone builds without needing to download the entire repo and history)\r\n\r\nThe large block of `COPY` commands (line 19-39) should in that case be replaced by this\r\n```\r\nRUN git clone https://github.com/laurent22/joplin --depth=1 .\r\n# Remove unused actions\r\nRUN mv packages packages_unused\r\nRUN mkdir packages && \\\r\n    for dir in app-mobile editor fork-htmlparser2 fork-uslug fork-sax htmlpack \\\r\n               lib react-native-alarm-notification react-native-saf-x renderer \\\r\n               tools turndown turndown-plugin-gfm utils; do \\\r\n        mv packages_unused/\"$dir\" packages/; \\\r\n    done\r\n```",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2987239904/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2989386780",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-2989386780",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 2989386780,
			"node_id": "IC_kwDOBLftOs6yLmwc",
			"user": {
				"login": "personalizedrefrigerator",
				"id": 46334387,
				"node_id": "MDQ6VXNlcjQ2MzM0Mzg3",
				"avatar_url": "https://avatars.githubusercontent.com/u/46334387?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/personalizedrefrigerator",
				"html_url": "https://github.com/personalizedrefrigerator",
				"followers_url": "https://api.github.com/users/personalizedrefrigerator/followers",
				"following_url": "https://api.github.com/users/personalizedrefrigerator/following{/other_user}",
				"gists_url": "https://api.github.com/users/personalizedrefrigerator/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/personalizedrefrigerator/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/personalizedrefrigerator/subscriptions",
				"organizations_url": "https://api.github.com/users/personalizedrefrigerator/orgs",
				"repos_url": "https://api.github.com/users/personalizedrefrigerator/repos",
				"events_url": "https://api.github.com/users/personalizedrefrigerator/events{/privacy}",
				"received_events_url": "https://api.github.com/users/personalizedrefrigerator/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-19T23:32:06Z",
			"updated_at": "2025-06-19T23:34:49Z",
			"author_association": "COLLABORATOR",
			"body": "Thank you for contributing!\r\n\r\nFor reference, I'm linking to https://github.com/joplin/web-app/pull/2, a pull request on the GitHub pages deployment repository for the web app. I suspect (but am not certain) that this pull request or one with a similar approach is more likely to be merged than https://github.com/joplin/web-app/pull/2, since its changes are applied to the main repository (where the existing Docker deployment logic is).",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2989386780/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3015993947",
			"html_url": "https://github.com/laurent22/joplin/pull/12563#issuecomment-3015993947",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12563",
			"id": 3015993947,
			"node_id": "IC_kwDOBLftOs6zxGpb",
			"user": {
				"login": "laurent22",
				"id": 1285584,
				"node_id": "MDQ6VXNlcjEyODU1ODQ=",
				"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/laurent22",
				"html_url": "https://github.com/laurent22",
				"followers_url": "https://api.github.com/users/laurent22/followers",
				"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
				"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
				"organizations_url": "https://api.github.com/users/laurent22/orgs",
				"repos_url": "https://api.github.com/users/laurent22/repos",
				"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
				"received_events_url": "https://api.github.com/users/laurent22/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2025-06-28T19:23:56Z",
			"updated_at": "2025-06-28T19:23:56Z",
			"author_association": "OWNER",
			"body": "Thanks for the PR but we need to discuss this first, how we want to distribute it, etc. as it may become an important component of Joplin.",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3015993947/reactions",
				"total_count": 1,
				"+1": 1,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		}
	]
}