1
0
Fork 0
mirror of synced 2024-06-25 01:30:56 +12:00

chore: merge fix

This commit is contained in:
Christy Jacob 2019-10-04 20:34:36 +05:30
parent 07118d7358
commit 07579b2aaf
12 changed files with 229 additions and 98 deletions

View file

@ -1,3 +1,14 @@
# Version 0.3.0 (PRE-RELEASE)
## Planned Issues
* Added 7 new locales for locale service and email templates (cz, hu, no*, ru, sv, ta, vi, zh)
* New users service routes to allow updates pref, email and name update
* 2 stage Docker build
* New database rule validation options
* Update docs example with auth info
* Limit HTTP origin check only to browser integrations
# Version 0.2.0 (PRE-RELEASE)
## Features
@ -5,7 +16,7 @@
* Added option to limit access to the Appwrite console
* Added option to disable abuse check and rate limits
* Added input field with the server API endpoint for easy access
* Added new OAuth providers for Google and Gitlab
* Added new OAuth providers for Google and GitLab
* Added 15 new locales for locale service and email templates (cat, de, es, fi, fr, gr, hi, id, it, nl, pt-br, pt-pt, ro, tr, ua)
* Improved test coverage for the project and synced DEV & CI environments settings
@ -20,4 +31,4 @@
* Changed auth service 'redirect' param to 'confirm' for better clarity
* Updated all SDKs to sync with API changes
# Version 0.1.15 (NOT-RELEASED)
# Version 0.1.15 (NOT-RELEASED)

View file

@ -3,9 +3,9 @@
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
size, disability, ethnicity, sex characteristics, gender identity, expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

View file

@ -42,7 +42,7 @@ We use prettier for our JS coding standards and for auto-formatting our code.
Appwrite is built to scale. Please keep in mind that the Appwrite stack can run in different environments and different scales.
We wish Appwrite will be as easy to set up and in a single, local host and easy to grow to a large environment with thousands and even hundreds of instances.
We wish Appwrite will be as easy to set up and in a single, localhost and easy to grow to a large environment with thousands and even hundreds of instances.
When contributing code please take into account the following considerations:
@ -67,7 +67,7 @@ Although the Appwrite API is a monolithic app, it has a very clear separation of
### The Microservice Part
Each container in Appwrite is a microservice by its own. Each service is an independent process which can scale without regard to any of the other services.
Each container in Appwrite is a microservice on its own. Each service is an independent process that can scale without regard to any of the other services.
Currently, all of the Appwrite microservices are intended to communicate using TCP protocol over a private network. You should be aware to not expose any of the services to the public-facing network, besides the public port 80 and 443 who by default are used to expose the Appwrite HTTP API.
@ -93,10 +93,10 @@ This is also important for the Appwrite lead developers to be able to give techn
## Setup
To set up a working development environment just clone the project git repository and install the backend and frontend dependencies using the proper package manager and create run the docker-compose stack.
To set up a working development environment just fork the project git repository and install the backend and frontend dependencies using the proper package manager and create run the docker-compose stack.
```bash
git clone git@github.com:appwrite/appwrite.git
git clone git@github.com:[YOUR_FORK_HERE]/appwrite.git
cd appwrite

View file

@ -16,9 +16,9 @@
Appwrite is a simple self-hosted backend server for web and mobile developers with a shiny dashboard and a very easy to use REST API.
Appwrite API services aims to make developers life a lot easier by hiding the complexity of common and repetitive software development tasks.
Appwrite API services aim to make developers life a lot easier by hiding the complexity of common and repetitive software development tasks.
Using Appwrite you can easily manage user authentication with multiple sign-in methods, database for storing and querying user and teams data, storage and file management, image manipulation and cropping, scheduled cron tasks and many other features to help you get more results in faster times and with a lot less code.
Using Appwrite you can easily manage user authentication with multiple sign-in methods, a database for storing and querying user and teams data, storage and file management, image manipulation and cropping, scheduled cron tasks and many other features to help you get more results in faster times and with a lot less code.
[https://appwrite.io](https://appwrite.io)
@ -26,7 +26,7 @@ Using Appwrite you can easily manage user authentication with multiple sign-in m
## Installation
Appwrite backend server is designed to run in a container environment. Running your server is as easy as running one command from your terminal. You can run Appwrite on your localhost using docker-compose or on any other container orchestration tool like Kubernetes, Docker Swarm or Rancher.
Appwrite backend server is designed to run in a container environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool like Kubernetes, Docker Swarm or Rancher.
The easiest way to start running your Appwrite server is by running our docker compose file:
@ -61,13 +61,13 @@ Getting started with Appwrite is as easy as creating a new project, choosing you
* [**Auth**](https://appwrite.io/docs/auth) - Manage user authentication using multiple sign-in methods and account recovery.
* [**Account**](https://appwrite.io/docs/account) - Manage current user account. Track and manage the user sessions, devices and security audit log.
* [**Users**](https://appwrite.io/docs/users) - Manage and list all project users when in admin mode.
* [**Teams**](https://appwrite.io/docs/teams) - Manage and group users in teams. Manage memberships, invites and users roles within a team.
* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using advanced filter with graph like capabilities.
* [**Storage**](https://appwrite.io/docs/storage) - Manage storage files. Read, create, delete and preview files. Manipulate your files preview to fit your app perfectly. All files are scanned by ClamAV and stored in a secure and encrypted way.
* [**Locale**](https://appwrite.io/docs/locale) - Track users location, and manage your app locale based data.
* [**Avatars**](https://appwrite.io/docs/avatars) - Manage your users avatars, countries flags, browser icons, credit card symbols and generate QR codes.
* [**Teams**](https://appwrite.io/docs/teams) - Manage and group users in teams. Manage memberships, invites and user roles within a team.
* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using an advanced filter with graph like capabilities.
* [**Storage**](https://appwrite.io/docs/storage) - Manage storage files. Read, create, delete and preview files. Manipulate the preview of your files to fit your app perfectly. All files are scanned by ClamAV and stored in a secure and encrypted way.
* [**Locale**](https://appwrite.io/docs/locale) - Track user's location, and manage your app locale based data.
* [**Avatars**](https://appwrite.io/docs/avatars) - Manage your user's avatars, country's flags, browser icons, credit card symbols and generate QR codes.
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcments checkout our [blog](https://medium.com/appwrite-io).
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcments check out our [blog](https://medium.com/appwrite-io).
### SDKs
@ -94,33 +94,34 @@ Join our growing community around the world! Follow us on [Twitter](https://twit
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
We really ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](CONTRIBUTING.md).
We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](CONTRIBUTING.md).
## Credits
Created by [Eldad Fux](https://twitter.com/eldadfux) with the amazing help of our **amazing contributors:**
* 🇺🇸 Justin Dorfman ([Github](https://github.com/jdorfman), [Twitter](https://twitter.com/jdorfman))
* 🇺🇳 0xflotus ([Github](https://github.com/0xflotus))
* 🇳🇴 Petter Charles Redfern ([Github](https://github.com/Chaaarles))
* 🇧🇷 Jessé Souza ([Github](https://github.com/jessescn))
* 🇪🇸 Esther Álvarez Feijoo ([Github](https://github.com/EstherAF))
* 🇮🇳 Christy Jacob ([Github](https://github.com/christyjacob4), [Linkedin](https://www.linkedin.com/in/christyjacob4/))
* 🇺🇦 Dmitriy Danilov ([Github](https://github.com/daniloff200), [Twitter](https://twitter.com/daniloff200))
* 🇮🇩 Zeet ([Github](https://github.com/Kiy4h))
* 🇫🇮 Pessi Päivärinne ([Github](https://github.com/pessip))
* 🇺🇳 Sergi Vos ([Github](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [Linkedin](https://www.linkedin.com/in/sergivb01/))
* 🇮🇱 Tomer Cohen ([Github](https://github.com/tomer), [Twitter](https://twitter.com/tomer))
* 🇮🇹 Tatiana ([Github](https://github.com/tacoelho))
* 🇬🇷 Panagiotis Skarlas ([Github](https://github.com/1qk1), [Twitter](https://twitter.com/qktweets))
* 🇷🇺 Alexey Pyltsyn ([Github](https://github.com/lex111))
* 🇩🇪 Robin C ([Github](https://github.com/Taminoful))
* 🇮🇳 Parikshit Hooda ([Github](https://github.com/Parikshit-Hooda))
* 🇫🇷 Corentin Le Fur ([Github](https://github.com/crtlf))
* 🇬🇧 Callum Lowry ([Github](https://github.com/Girxffe))
* 🇷🇴 Bogdan Covrig ([Github](https://github.com/BogDAAAMN), [Twitter](https://twitter.com/BogdanCovrig))
* 🇳🇱 Kolkies ([Github](https://github.com/kolkies.dev))
* 🇹🇷 Mustafa Dur ([Github](https://github.com/tosbaha))
* 🇵🇹 Luís Pinto ([Github](https://github.com/LiTO773))
* 🇮🇳 Saksham Saxena ([Github](https://github.com/sakkshm))
* 🇮🇱 Dima Vishnevetsky ([Github](https://github.com/dimshik100), [Twitter](https://twitter.com/dimshik100))
* 🇺🇸 Justin Dorfman ([GitHub](https://github.com/jdorfman), [Twitter](https://twitter.com/jdorfman))
* 🇺🇳 0xflotus ([GitHub](https://github.com/0xflotus))
* 🇳🇴 Petter Charles Redfern ([GitHub](https://github.com/Chaaarles))
* 🇧🇷 Jessé Souza ([GitHub](https://github.com/jessescn))
* 🇪🇸 Esther Álvarez Feijoo ([GitHub](https://github.com/EstherAF))
* 🇮🇳 Christy Jacob ([GitHub](https://github.com/christyjacob4), [LinkedIn](https://www.linkedin.com/in/christyjacob4/))
* 🇺🇦 Dmitriy Danilov ([GitHub](https://github.com/daniloff200), [Twitter](https://twitter.com/daniloff200))
* 🇮🇩 Zeet ([GitHub](https://github.com/Kiy4h))
* 🇫🇮 Pessi Päivärinne ([GitHub](https://github.com/pessip))
* 🇺🇳 Sergi Vos ([GitHub](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [LinkedIn](https://www.linkedin.com/in/sergivb01/))
* 🇮🇱 Tomer Cohen ([GitHub](https://github.com/tomer), [Twitter](https://twitter.com/tomer))
* 🇮🇹 Tatiana ([GitHub](https://github.com/tacoelho))
* 🇬🇷 Panagiotis Skarlas ([GitHub](https://github.com/1qk1), [Twitter](https://twitter.com/qktweets))
* 🇷🇺 Alexey Pyltsyn ([GitHub](https://github.com/lex111))
* 🇩🇪 Robin C ([GitHub](https://github.com/Taminoful))
* 🇮🇳 Parikshit Hooda ([GitHub](https://github.com/Parikshit-Hooda))
* 🇫🇷 Corentin Le Fur ([GitHub](https://github.com/crtlf))
* 🇬🇧 Callum Lowry ([GitHub](https://github.com/Girxffe))
* 🇷🇴 Bogdan Covrig ([GitHub](https://github.com/BogDAAAMN), [Twitter](https://twitter.com/BogdanCovrig))
* 🇳🇱 Kolkies ([GitHub](https://github.com/kolkies.dev))
* 🇹🇷 Mustafa Dur ([GitHub](https://github.com/tosbaha))
* 🇵🇹 Luís Pinto ([GitHub](https://github.com/LiTO773))
* 🇮🇳 Saksham Saxena ([GitHub](https://github.com/sakkshm))
* 🇮🇱 Dima Vishnevetsky ([GitHub](https://github.com/dimshik100), [Twitter](https://twitter.com/dimshik100))
* 🇭🇺 lacexd ([GitHub](https://github.com/lacexd))

View file

@ -8,7 +8,7 @@ echo "Updating git repository"
git fetch origin
git reset --hard origin/master
if test `find "./app/db/GeoLite2/GeoLite2-Country.mmdb" -mmin +259200`
if test $(find "./app/db/GeoLite2/GeoLite2-Country.mmdb" -mmin +259200)
then
printf "${RED}GEO country DB has not been updated for more than 6 months. Go to https://dev.maxmind.com/geoip/geoip2/geolite2/ for more info${NC}\n"
fi
@ -23,8 +23,8 @@ composer update --ignore-platform-reqs --optimize-autoloader --no-dev --no-plugi
echo 'Starting build...'
docker build -t appwrite/appwrite:$1 .
docker build -t appwrite/appwrite:"$1" .
echo 'Pushing build to registry...'
docker push appwrite/appwrite:$1
docker push appwrite/appwrite:"$1"

73
composer.lock generated
View file

@ -12,12 +12,12 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-for-php.git",
"reference": "456e2f153393bd67b7d706db1ec104ba211cf25a"
"reference": "bc702c165342f3d943e17d580ab3eb66e100eb44"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/456e2f153393bd67b7d706db1ec104ba211cf25a",
"reference": "456e2f153393bd67b7d706db1ec104ba211cf25a",
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/bc702c165342f3d943e17d580ab3eb66e100eb44",
"reference": "bc702c165342f3d943e17d580ab3eb66e100eb44",
"shasum": ""
},
"require": {
@ -39,7 +39,7 @@
"BSD-3-Clause"
],
"description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)",
"time": "2019-10-01T18:05:56+00:00"
"time": "2019-10-03T17:57:02+00:00"
},
{
"name": "appwrite/php-clamav",
@ -92,7 +92,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "21f848c7c8a6f3f721c23d9c8bbdf8fff886863d"
"reference": "e0cfa4cb8d45b3faf8222f4e7f803f3054431ce8"
},
"require": {
"ext-curl": "*",
@ -122,7 +122,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2019-10-01 17:57:36"
"time": "2019-10-03 22:01:52"
},
{
"name": "bacon/bacon-qr-code",
@ -1994,7 +1994,7 @@
},
{
"name": "phpdocumentor/reflection-common",
"version": "dev-master",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
@ -2046,40 +2046,36 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "4.3.2",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e"
"reference": "8fcadfe5f85c38705151c9ab23b4781f23e6a70e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
"reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8fcadfe5f85c38705151c9ab23b4781f23e6a70e",
"reference": "8fcadfe5f85c38705151c9ab23b4781f23e6a70e",
"shasum": ""
},
"require": {
"php": "^7.0",
"phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0",
"phpdocumentor/type-resolver": "~0.4 || ^1.0.0",
"webmozart/assert": "^1.0"
"php": ">=7.1",
"phpdocumentor/type-resolver": "^0",
"webmozart/assert": "^1"
},
"require-dev": {
"doctrine/instantiator": "^1.0.5",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^6.4"
"doctrine/instantiator": "^1",
"mockery/mockery": "^1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.x-dev"
"dev-master": "5.x-dev"
}
},
"autoload": {
"psr-4": {
"phpDocumentor\\Reflection\\": [
"src/"
]
"phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -2093,35 +2089,34 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2019-09-12T14:27:41+00:00"
"time": "2019-06-15T20:45:01+00:00"
},
{
"name": "phpdocumentor/type-resolver",
"version": "dev-master",
"version": "0.7.x-dev",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9"
"reference": "6f6f66c1d4e14e9b0ad124cae85864dfa03104c7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9",
"reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6f6f66c1d4e14e9b0ad124cae85864dfa03104c7",
"reference": "6f6f66c1d4e14e9b0ad124cae85864dfa03104c7",
"shasum": ""
},
"require": {
"php": "^7.1",
"phpdocumentor/reflection-common": "^2.0"
"php": ">=7.1",
"phpdocumentor/reflection-common": "~2.0.0-beta1"
},
"require-dev": {
"ext-tokenizer": "^7.1",
"mockery/mockery": "~1",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "~6"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
"dev-master": "0.x-dev"
}
},
"autoload": {
@ -2140,26 +2135,26 @@
}
],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"time": "2019-08-22T18:11:29+00:00"
"time": "2019-08-22T17:55:41+00:00"
},
{
"name": "phpspec/prophecy",
"version": "dev-master",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "bcdce71d674f4f7b86df0ff3a418d43b7fe141f7"
"reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/bcdce71d674f4f7b86df0ff3a418d43b7fe141f7",
"reference": "bcdce71d674f4f7b86df0ff3a418d43b7fe141f7",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/f6811d96d97bdf400077a0cc100ae56aa32b9203",
"reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
"sebastian/comparator": "^1.1|^2.0|^3.0",
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
},
@ -2203,7 +2198,7 @@
"spy",
"stub"
],
"time": "2019-09-09T15:23:21+00:00"
"time": "2019-10-03T11:07:50+00:00"
},
{
"name": "phpunit/php-code-coverage",

View file

@ -36,7 +36,7 @@ services:
- _APP_INFLUXDB_PORT=8086
- _APP_STATSD_HOST=telegraf
- _APP_STATSD_PORT=8125
mariadb:
image: appwrite/mariadb:1.0.0 # fix issues when upgrading using: mysql_upgrade -u root -p
restart: unless-stopped
@ -63,7 +63,7 @@ services:
restart: unless-stopped
volumes:
- ./storage:/storage:rw
redis:
image: redis:5.0
restart: unless-stopped
@ -78,4 +78,4 @@ services:
telegraf:
image: appwrite/telegraf:1.0.0
ports:
- "8125:8125/udp"
- "8125:8125/udp"

View file

@ -88,7 +88,7 @@ http {
add_header Cache-Control "public";
}
# CSS and Javascript
# CSS and JavaScript
location ~* \.(?:css|js)$ {
expires 1y;
access_log off;
@ -145,4 +145,4 @@ http {
deny all;
}
}
}
}

View file

@ -22,7 +22,7 @@ Make sure to fill all data needed and that your provider array key name is in ca
### Add Provider Logo
Add a logo image to your new provider in this path: `./public/images/oauth`. Your logo should be a png 100×100px file with the name of your provider (all lowercase). Please make sure to leave about 20px padding around the logo to be consistent with other logos.
Add a logo image to your new provider in this path: `./public/images/oauth`. Your logo should be a png 100×100px file with the name of your provider (all lowercase). Please make sure to leave about 30px padding around the logo to be consistent with other logos.
### Add Provider Class

View file

@ -0,0 +1,119 @@
# Environment Variables
Appwrite environment variables allow you to edit your server setup configuration and customize it. You can easily change the environment variables by changing them when running Appwrite using Docker CLI or Docker-Compose.
## General Options
### _APP_ENV
Set your server running environment. By default the var is set to 'development' when deploying to production, change to: 'production'.
### _APP_OPTIONS_ABUSE
Allows you to disabled abuse checks and API rate limiting. By default set to 'enabled'. To cancel the abuse checking set to 'disabled'. It is not recommended to disable this check-in production environment.
### _APP_OPENSSL_KEY_V1
This is your server private secret key that is used to encrypt all sensitive data on your server. Appwrite server is encrypting all secret data on your server like webhooks HTTP passwords, user sessions, and the storage files. The var is not set by default, if you wish to take advantage of Appwrite encryption capabilities you should change it and make sure to keep it a secret.
### _APP_CONSOLE_WHITELIST_EMAILS
This option is very useful for small teams or sole developers. To enable it, pass a list of allowed email addresses separated by a comma.
### _APP_CONSOLE_WHITELIST_DOMAINS
This option allows you to restrict access to Appwrite console for users sharing the same email domains. This option is very useful for team working with company emails domain.
To enable this option, pass a list of allowed email domains separated by a comma.
### _APP_CONSOLE_WHITELIST_IPS
This last option available allows you to restrict access to Appwrite console for users sharing the same set op IP addresses. This option is very useful for team working with a VPN service or a company IP.
To enable activate this option, pass a list of allowed IP addresses separated by a comma.
## Redis Server
Appwrite is using a Redis server for managing cache, queues and scheduled tasks. The Redis env vars are used to allow Appwrite server to connect to the Redis container.
### _APP_REDIS_HOST
Redis server hostname address. Default value is: 'redis'
### _APP_REDIS_PORT
Redis server TCP port. Default value is: '6379'
## MariaDB Server
Appwrite is using a MariaDB server for managing persistent database data. The MariaDB env vars are used to allow Appwrite server to connect to the MariaDB container.
### _APP_DB_HOST
MariaDB server host name address. Default value is: 'mariadb'
### _APP_DB_PORT
MariaDB server TCP port. Default value is: '3306'
### _APP_DB_USER
MariaDB server user name. Default value is: 'root'
### _APP_DB_PASS
MariaDB server user password. Default value is: 'password'
### _APP_DB_SCHEMA
MariaDB server database schema. Default value is: 'appwrite'
## InfluxDB
Appwrite is using an InfluxDB server for managing time-series data and server stats. The InfluxDB env vars are used to allow Appwrite server to connect to the InfluxDB container.
### _APP_INFLUXDB_HOST
InfluxDB server host name address. Default value is: 'influxdb'
### _APP_INFLUXDB_PORT
InfluxDB server TCP port. Default value is: '8086'
## StatsD
Appwrite is using a StatsD server for aggregating and sending stats data over a fast UDP connection. The StatsD env vars are used to allow Appwrite server to connect to the StatsD container.
### _APP_INFLUXDB_HOST
StatsD server host name address. Default value is: 'telegraf'
### _APP_INFLUXDB_PORT
StatsD server TCP port. Default value is: '8125'
## SMTP
Appwrite is using an SMTP server for emailing your projects users and server admins. The SMTP env vars are used to allow Appwrite server to connect to the SMTP container.
If running in production, it might be easier to use a 3rd party SMTP server as it might be a little more difficult to set up a production SMTP server that will not send all your emails into your user's SPAM folder.
### _APP_SMTP_HOST
SMTP server host name address. Default value is: 'smtp'
### _APP_SMTP_PORT
SMTP server TCP port. Default value is: '25'
### _APP_SMTP_SECURE
SMTP secure connection protocol. Empty by default, Change to 'tls' if running on a secure connection.
### _APP_SMTP_USERNAME
SMTP server user name. Empty by default.
### _APP_SMTP_PASSWORD
SMTP server user password. Empty by default.

19
package-lock.json generated
View file

@ -834,9 +834,9 @@
}
},
"appwrite": {
"version": "1.0.21",
"resolved": "https://registry.npmjs.org/appwrite/-/appwrite-1.0.21.tgz",
"integrity": "sha512-NfNG9JQkOQypanMKOGzPzHVTZP1MTDipbTkRveIfmNd0W25OAqpE1up9f7KHaAi8yha1uyqkYW6l9QgjECZMEw==",
"version": "1.0.22",
"resolved": "https://registry.npmjs.org/appwrite/-/appwrite-1.0.22.tgz",
"integrity": "sha512-ofwb9opdkoY+AV8W2AkZY1z7gAqRlBZhbFj4ZMC9+UYhRAtLfaGnuyfRaWIKMFt7DII2Or261newdlwL/R2NsQ==",
"dev": true
},
"archy": {
@ -2517,7 +2517,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -2932,7 +2933,8 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -2988,6 +2990,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -3031,12 +3034,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.0.3",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},

View file

@ -4,7 +4,7 @@
"license": "BSD-3-Clause",
"repository": "public",
"devDependencies": {
"appwrite": "^1.0.21",
"appwrite": "^1.0.22",
"gulp": "^4.0.0",
"gulp-clean-css": "^4.0.0",
"gulp-concat": "2.5.2",