{"id":19252069,"url":"https://github.com/toeverything/docker","last_synced_at":"2025-02-23T16:49:33.961Z","repository":{"id":176275614,"uuid":"655254215","full_name":"toeverything/docker","owner":"toeverything","description":"The official Docker deployment solution for AFFiNE.","archived":false,"fork":false,"pushed_at":"2023-06-19T02:16:56.000Z","size":4,"stargazers_count":24,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-05T06:42:37.480Z","etag":null,"topics":["affine-docker","selfhosted-apps"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toeverything.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-18T11:03:27.000Z","updated_at":"2024-11-21T14:16:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f201fa52-1d9f-485b-b0c2-68c937f9d907","html_url":"https://github.com/toeverything/docker","commit_stats":null,"previous_names":["toeverything/docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toeverything","download_url":"https://codeload.github.com/toeverything/docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240347829,"owners_count":19787234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["affine-docker","selfhosted-apps"],"created_at":"2024-11-09T18:25:16.180Z","updated_at":"2025-02-23T16:49:33.617Z","avatar_url":"https://github.com/toeverything.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AFFiNE Docker\n\nThe official Docker deployment solution for AFFiNE.\n\n##  Install \u0026 Usage\n\nInstall AFFiNE with Docker\nThis guide assumes you already have an environment setup running docker.\n\nCurrently there are two main versions:\n1. AFFiNE Alpha - The latest version in active development \naffine-self-hosted:latest\n2. AFFiNE Pre-Alpha - Previous release which is no longer developed, but offers different functionality \naffine-self-hosted:pre-alpha\nSimply swap out the Docker image for which version you require, the following instructions default to the latest image.\n﻿\n﻿\nInstalling AFFiNE using Docker\n\n1. Pull the latest AFFiNE image. This may take some time depending on your network connection.\n\n```\ndocker pull ghcr.io/toeverything/affine-self-hosted:latest\n```\n\nEnsure this step is completed successfully before continuing (you can rerun this command if you are unsure).\n​\n3. Next we will run the AFFiNE project in Docker.\n\n```\ndocker run -it --name affine -d -v YOUR_PATH:/app/data -p 3000:3000 ghcr.io/toeverything/affine-self-hosted:latest\n```\n\n- (--name) Optional - this makes it convenient for using and interacting with your Docker container - such as docker restart affine.\n- (-v) Optional - allows you to mount your data outside of Docker to your local machine. Remember to set YOUR_PATH to the directory of your choice.\n- (-p) Required - this sets the port for where AFFiNE is running and listening, we use the default 3000 if you need to change this only change the first number e.g. [YOUR_PORT]:3000\n\nFinally, the image id is the version of AFFiNE you wish to deploy. Following this guide, it would be the same as the previous step - so ghcr.io/toeverything/affine-self-hosted:latest\n​\n3. You can confirm that AFFiNE is running successfully by using the command\ndocker ps\nThis command shows a list of running containers - in the list you should be able to find AFFiNE.\n﻿\n﻿\nNow you can access AFFiNE from your browser via:\n\nIf you are running Docker on your local machine and using the default settings you can access via port 3000 through localhost: http://localhost:3000/​\n\nOtherwise you will need to know the {IP} of the machine using Docker and the {PORT} that AFFiNE is using.\n\nBear in mind that some features require a secure environment to work, which means https and wss connections through a reverse proxy setup. If you have any questions or need support you may want to try the Technical Discussion space.​\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoeverything%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdocker/lists"}