mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
Docker update
This commit is contained in:
parent
ad1c1b7074
commit
ddcbd50db8
@ -1,3 +1,7 @@
|
||||
# ENV file version
|
||||
# Check for outdated .env files
|
||||
VERSION=1
|
||||
|
||||
SERVER_ADDRESS=0.0.0.0
|
||||
SERVER_PORT=9503
|
||||
|
||||
@ -18,3 +22,26 @@ TELEGRAM_PROXY_ADDRESS=
|
||||
TELEGRAM_PROXY_PORT=
|
||||
TELEGRAM_PROXY_USERNAME=
|
||||
TELEGRAM_PROXY_PASSWORD=
|
||||
|
||||
# DB
|
||||
# memory
|
||||
# Keep all data in memory/session file.
|
||||
# This is default behavior
|
||||
# mysql
|
||||
# Keep part of data in mysql database.
|
||||
# Reduce memory consumption and session size. Beta function.
|
||||
# MariaDb + InnoDb Preffered.
|
||||
# Tables and DB will be created if not exists.
|
||||
|
||||
# Change this type to convert session:
|
||||
DB_TYPE=mysql
|
||||
# MYSQL Settings. Required, when DB_TYPE=mysql
|
||||
MYSQL_HOST='mysql'
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER='root'
|
||||
MYSQL_PASSWORD='password'
|
||||
MYSQL_DATABASE='MadelineProto'
|
||||
MYSQL_MAX_CONNECTIONS=10
|
||||
MYSQL_IDLE_TIMEOUT=60
|
||||
# Recent data will be stored in memory this amount of time:
|
||||
MYSQL_CACHE_TTL='+5 minutes'
|
61
composer.lock
generated
61
composer.lock
generated
@ -1824,12 +1824,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/xtrime-ru/MadelineProto.git",
|
||||
"reference": "e0832390ce83bdf7707c2f2a9f722cb557543af2"
|
||||
"reference": "2aab5e8cc8e02666d8089b48434dbc8580b0916d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/xtrime-ru/MadelineProto/zipball/e0832390ce83bdf7707c2f2a9f722cb557543af2",
|
||||
"reference": "e0832390ce83bdf7707c2f2a9f722cb557543af2",
|
||||
"url": "https://api.github.com/repos/xtrime-ru/MadelineProto/zipball/2aab5e8cc8e02666d8089b48434dbc8580b0916d",
|
||||
"reference": "2aab5e8cc8e02666d8089b48434dbc8580b0916d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1962,7 +1962,7 @@
|
||||
"support": {
|
||||
"source": "https://github.com/xtrime-ru/MadelineProto/tree/db"
|
||||
},
|
||||
"time": "2020-05-23T12:10:47+00:00"
|
||||
"time": "2020-06-07T18:56:54+00:00"
|
||||
},
|
||||
{
|
||||
"name": "danog/magicalserializer",
|
||||
@ -2693,16 +2693,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpoption/phpoption",
|
||||
"version": "1.7.3",
|
||||
"version": "1.7.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/schmittjoh/php-option.git",
|
||||
"reference": "4acfd6a4b33a509d8c88f50e5222f734b6aeebae"
|
||||
"reference": "b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/4acfd6a4b33a509d8c88f50e5222f734b6aeebae",
|
||||
"reference": "4acfd6a4b33a509d8c88f50e5222f734b6aeebae",
|
||||
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3",
|
||||
"reference": "b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -2744,7 +2744,17 @@
|
||||
"php",
|
||||
"type"
|
||||
],
|
||||
"time": "2020-03-21T18:07:53+00:00"
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/GrahamCampbell",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2020-06-07T10:40:07+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/http-message",
|
||||
@ -2962,28 +2972,28 @@
|
||||
},
|
||||
{
|
||||
"name": "vlucas/phpdotenv",
|
||||
"version": "v4.1.5",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vlucas/phpdotenv.git",
|
||||
"reference": "539bb6927c101a5605d31d11a2d17185a2ce2bf1"
|
||||
"reference": "db63b2ea280fdcf13c4ca392121b0b2450b51193"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/539bb6927c101a5605d31d11a2d17185a2ce2bf1",
|
||||
"reference": "539bb6927c101a5605d31d11a2d17185a2ce2bf1",
|
||||
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/db63b2ea280fdcf13c4ca392121b0b2450b51193",
|
||||
"reference": "db63b2ea280fdcf13c4ca392121b0b2450b51193",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.5.9 || ^7.0 || ^8.0",
|
||||
"phpoption/phpoption": "^1.7.2",
|
||||
"symfony/polyfill-ctype": "^1.9"
|
||||
"phpoption/phpoption": "^1.7.3",
|
||||
"symfony/polyfill-ctype": "^1.16"
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.3",
|
||||
"bamarni/composer-bin-plugin": "^1.4.1",
|
||||
"ext-filter": "*",
|
||||
"ext-pcre": "*",
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-filter": "Required to use the boolean validator.",
|
||||
@ -3032,7 +3042,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2020-05-02T14:08:57+00:00"
|
||||
"time": "2020-06-07T18:25:35+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
@ -3042,12 +3052,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||
"reference": "e38de1df609b39d97144514d28b0804ad4daaddb"
|
||||
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/e38de1df609b39d97144514d28b0804ad4daaddb",
|
||||
"reference": "e38de1df609b39d97144514d28b0804ad4daaddb",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/de6fda3af9b36c77fdeb62b968157032f7111b09",
|
||||
"reference": "de6fda3af9b36c77fdeb62b968157032f7111b09",
|
||||
"shasum": ""
|
||||
},
|
||||
"conflict": {
|
||||
@ -3101,8 +3111,9 @@
|
||||
"ezsystems/ezplatform": ">=1.7,<1.7.9.1|>=1.13,<1.13.5.1|>=2.5,<2.5.4",
|
||||
"ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6",
|
||||
"ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2",
|
||||
"ezsystems/ezplatform-kernel": ">=1,<1.0.2.1",
|
||||
"ezsystems/ezplatform-user": ">=1,<1.0.1",
|
||||
"ezsystems/ezpublish-kernel": ">=5.3,<5.3.12.1|>=5.4,<5.4.14.1|>=6,<6.7.9.1|>=6.8,<6.13.6.2|>=7,<7.2.4.1|>=7.3,<7.3.2.1|>=7.5,<7.5.6.2",
|
||||
"ezsystems/ezpublish-kernel": ">=5.3,<5.3.12.1|>=5.4,<5.4.14.2|>=6,<6.7.9.1|>=6.8,<6.13.6.3|>=7,<7.2.4.1|>=7.3,<7.3.2.1|>=7.5,<7.5.7.1",
|
||||
"ezsystems/ezpublish-legacy": ">=5.3,<5.3.12.6|>=5.4,<5.4.14.1|>=2011,<2017.12.7.2|>=2018.6,<2018.6.1.4|>=2018.9,<2018.9.1.3|>=2019.3,<2019.3.4.2",
|
||||
"ezsystems/repository-forms": ">=2.3,<2.3.2.1",
|
||||
"ezyang/htmlpurifier": "<4.1.1",
|
||||
@ -3140,6 +3151,7 @@
|
||||
"monolog/monolog": ">=1.8,<1.12",
|
||||
"namshi/jose": "<2.2",
|
||||
"nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1",
|
||||
"october/october": ">=1.0.319,<1.0.466",
|
||||
"onelogin/php-saml": "<2.10.4",
|
||||
"oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5",
|
||||
"openid/php-openid": "<2.3",
|
||||
@ -3151,7 +3163,7 @@
|
||||
"paypal/merchant-sdk-php": "<3.12",
|
||||
"pear/archive_tar": "<1.4.4",
|
||||
"phpfastcache/phpfastcache": ">=5,<5.0.13",
|
||||
"phpmailer/phpmailer": ">=5,<5.2.27|>=6,<6.0.6",
|
||||
"phpmailer/phpmailer": "<6.1.6",
|
||||
"phpmyadmin/phpmyadmin": "<4.9.2",
|
||||
"phpoffice/phpexcel": "<1.8.2",
|
||||
"phpoffice/phpspreadsheet": "<1.8",
|
||||
@ -3166,6 +3178,7 @@
|
||||
"propel/propel": ">=2-alpha.1,<=2-alpha.7",
|
||||
"propel/propel1": ">=1,<=1.7.1",
|
||||
"pusher/pusher-php-server": "<2.2.1",
|
||||
"rainlab/debugbar-plugin": "<3.1",
|
||||
"robrichards/xmlseclibs": "<3.0.4",
|
||||
"sabre/dav": ">=1.6,<1.6.99|>=1.7,<1.7.11|>=1.8,<1.8.9",
|
||||
"scheb/two-factor-bundle": ">=0,<3.26|>=4,<4.11",
|
||||
@ -3314,7 +3327,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2020-05-22T06:49:22+00:00"
|
||||
"time": "2020-06-04T00:00:55+00:00"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
|
Loading…
Reference in New Issue
Block a user