{"id":13533634,"url":"https://github.com/byawitz/appwrite-docker","last_synced_at":"2025-08-13T01:33:08.319Z","repository":{"id":185267118,"uuid":"670408572","full_name":"byawitz/appwrite-docker","owner":"byawitz","description":"Docker \u0026 Ansible files for deploying Swarm and high availability Appwrite instance(s)","archived":false,"fork":false,"pushed_at":"2024-03-18T17:35:11.000Z","size":53,"stargazers_count":23,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-09T06:03:45.151Z","etag":null,"topics":["ansible","ansible-playbook","appread","appwrite","docker","docker-swarm","high-availability","horizontal-scaling","scaling","swarm","vertical-scaling"],"latest_commit_sha":null,"homepage":"https://book.appread.io/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byawitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-25T01:57:56.000Z","updated_at":"2024-08-27T17:10:27.000Z","dependencies_parsed_at":"2024-01-14T02:33:07.131Z","dependency_job_id":"fe68248f-ccc3-4681-a6d7-195c17689222","html_url":"https://github.com/byawitz/appwrite-docker","commit_stats":null,"previous_names":["byawitz/scaling-appwrite","byawitz/appwrite-docker"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byawitz%2Fappwrite-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byawitz%2Fappwrite-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byawitz%2Fappwrite-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byawitz%2Fappwrite-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byawitz","download_url":"https://codeload.github.com/byawitz/appwrite-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229724314,"owners_count":18114425,"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":["ansible","ansible-playbook","appread","appwrite","docker","docker-swarm","high-availability","horizontal-scaling","scaling","swarm","vertical-scaling"],"created_at":"2024-08-01T07:01:21.628Z","updated_at":"2024-12-14T15:54:50.312Z","avatar_url":"https://github.com/byawitz.png","language":null,"readme":"# Scaling Appwrite\n\n## ⚡ Introduction\n\nIn this repo, you'll find all the necessary files needed for deploying Appwrite:\n\n- Using a single server.\n- Using multiple servers with a decentralized database \u0026 storage.\n- Using Docker Swarm with a decentralized database \u0026 storage.\n\n### Deployment types\n\n| Technique                  | Description                                                            |\n|----------------------------|------------------------------------------------------------------------|\n| [Vertical](./vertical)     | Scale your Appwrite up and down using single server                    |\n| [Horizontal](./horizontal) | Scale your Appwrite left and right using multiple **services** servers |\n| [Swarm](./swarm)           | Scale your Appwrite using multiple docker **swarm** servers.           |\n\n### Addon\n\n| Name                             | Description                                                                                |\n|----------------------------------|--------------------------------------------------------------------------------------------|\n| [Decentralized](./decentralized) | Single decentralized storage and databases server to be used with `Horizontal` and `Swarm` |\n\n## 🎩 Using ansible\n\nAny deployments contain fully working Ansible scripts, so you can deploy your Appwrite infrastructure with a single command!\n\n### Config files:\n\nInside each Ansible sub folder, you'll find two files inside the `config` folder\n\n- `vars.yml` - List of variable you can customize prior to the deployment.\n- `servers.yml` - List of all your servers and groupds.\n\nAll you need to do is to update the variables inside the `vars.yml` file, and set each server IP. Notice that in `Horizontal` and `Swarm` the separation of the\nservers into groups is done for you.\n\n### Encrypt variables\n\nTo encrypt the database passwords, or any variables inside the `vars.yml` file, you can use `ansible-vault` like so:\n\n```shell\nansible-vault encrypt_string PASSWORD --ask-vault-pass\n```\n\nReplace `PASSWORD` with the desired value and set a password for the local vault.\n\n### Run\n\nInside the `ansible` folder:\n\n```shell\n# In case you did encrypt some vars\nansible-playbook appwrite.yml --ask-vault-pass\n\n# In case you didn't encrypt any vars\nansible-playbook appwrite.yml\n```\n\nGrab a coffee ☕ and watch your infrastructure come to life.\n\n## 🧙‍♂️ Looking for more?\n\nCheck my official DevOps Book in [English](https://book.appread.io/) or in [Hebrew](https://book.appread.io/he/). \n","funding_links":[],"categories":["Learning Resources"],"sub_categories":["Setup, Customization and Deployment"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyawitz%2Fappwrite-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyawitz%2Fappwrite-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyawitz%2Fappwrite-docker/lists"}