2020-12-17 10:54:58 +13:00
# WARNING!
# This is a development version of THE Appwrite docker-compose.yml file.
# Avoid using this file in your production environment.
2021-10-08 20:44:47 +13:00
# We're exposing here sensitive ports and mounting code volumes for rapid development and debugging of the server stack.
2020-12-17 10:54:58 +13:00
2022-03-29 22:50:57 +13:00
x-logging : &x-logging
logging :
driver : 'json-file'
options :
2022-04-13 20:58:09 +12:00
max-file : '5'
max-size : '10m'
2020-12-17 10:54:58 +13:00
2019-10-02 10:12:48 +13:00
version : '3'
2019-05-09 18:54:39 +12:00
services :
2020-02-25 20:55:55 +13:00
traefik :
2022-11-08 21:33:13 +13:00
image : traefik:2.9
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-16 08:29:34 +12:00
container_name : appwrite-traefik
2020-02-25 20:55:55 +13:00
command :
2020-02-25 22:13:36 +13:00
- --log.level=DEBUG
- --api.insecure=true
2020-02-25 23:04:12 +13:00
- --providers.file.directory=/storage/config
2020-02-25 22:13:36 +13:00
- --providers.file.watch=true
- --providers.docker=true
2020-12-16 23:58:40 +13:00
- --providers.docker.exposedByDefault=false
- --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
2020-10-16 20:31:09 +13:00
- --entrypoints.appwrite_web.address=:80
- --entrypoints.appwrite_websecure.address=:443
2020-02-25 22:13:36 +13:00
- --accesslog=true
2020-02-25 20:55:55 +13:00
ports :
2020-02-25 22:13:36 +13:00
- 80 : 80
2022-03-04 01:21:23 +13:00
- 8080 : 80
2020-02-25 22:13:36 +13:00
- 443 : 443
2020-12-20 06:45:25 +13:00
- 9500 : 8080
2020-02-25 20:55:55 +13:00
volumes :
2020-02-25 22:13:36 +13:00
- /var/run/docker.sock:/var/run/docker.sock
2020-02-25 23:04:12 +13:00
- appwrite-config:/storage/config:ro
2023-08-23 22:08:48 +12:00
- appwrite-certificates:/storage/certificates:ro
2020-02-25 22:13:36 +13:00
depends_on :
2020-03-20 08:00:53 +13:00
- appwrite
2020-02-25 20:55:55 +13:00
networks :
2020-02-25 22:13:36 +13:00
- gateway
- appwrite
2022-03-16 23:11:04 +13:00
2019-10-02 10:12:48 +13:00
appwrite :
2019-11-30 06:34:55 +13:00
container_name : appwrite
2022-03-29 22:50:57 +13:00
<< : *x-logging
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2019-11-30 06:34:55 +13:00
build :
context : .
args :
2022-09-15 03:52:52 +12:00
DEBUG : false
TESTING : true
VERSION : dev
2020-07-03 00:24:39 +12:00
ports :
- 9501 : 80
2019-12-05 18:30:23 +13:00
networks :
2020-02-25 20:55:55 +13:00
- appwrite
labels :
2020-10-16 20:31:09 +13:00
- "traefik.enable=true"
2021-01-10 10:57:23 +13:00
- "traefik.constraint-label-stack=appwrite"
2020-10-16 20:31:09 +13:00
- "traefik.docker.network=appwrite"
- "traefik.http.services.appwrite_api.loadbalancer.server.port=80"
#http
- traefik.http.routers.appwrite_api_http.entrypoints=appwrite_web
- traefik.http.routers.appwrite_api_http.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_http.service=appwrite_api
# https
- traefik.http.routers.appwrite_api_https.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_api_https.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_https.service=appwrite_api
- traefik.http.routers.appwrite_api_https.tls=true
2019-10-02 10:12:48 +13:00
volumes :
2020-02-25 22:13:36 +13:00
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
2020-02-25 23:04:12 +13:00
- appwrite-config:/storage/config:rw
2020-02-25 22:13:36 +13:00
- appwrite-certificates:/storage/certificates:rw
2022-11-18 08:38:43 +13:00
- appwrite-functions:/storage/functions:rw
2020-07-02 02:38:41 +12:00
- ./phpunit.xml:/usr/src/code/phpunit.xml
- ./tests:/usr/src/code/tests
- ./app:/usr/src/code/app
- ./docs:/usr/src/code/docs
2022-02-11 13:11:09 +13:00
- ./public:/usr/src/code/public
2020-07-02 02:38:41 +12:00
- ./src:/usr/src/code/src
2023-08-11 22:17:33 +12:00
- ./dev:/usr/src/code/dev
2019-10-02 10:12:48 +13:00
depends_on :
2020-02-25 22:13:36 +13:00
- mariadb
- redis
2021-04-11 01:28:55 +12:00
# - clamav
2021-07-11 22:04:31 +12:00
entrypoint :
- php
- -e
- app/http.php
- -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
2019-10-02 10:12:48 +13:00
environment :
2020-07-06 01:51:20 +12:00
- _APP_ENV
2022-03-01 00:05:11 +13:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_LOCALE
2021-05-13 02:53:25 +12:00
- _APP_CONSOLE_WHITELIST_ROOT
2021-02-24 01:52:14 +13:00
- _APP_CONSOLE_WHITELIST_EMAILS
- _APP_CONSOLE_WHITELIST_IPS
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2021-01-16 06:48:36 +13:00
- _APP_SYSTEM_RESPONSE_FORMAT
2020-07-06 01:51:20 +12:00
- _APP_OPTIONS_ABUSE
2023-09-18 23:18:58 +12:00
- _APP_OPTIONS_ROUTER_PROTECTION
2020-07-06 01:51:20 +12:00
- _APP_OPTIONS_FORCE_HTTPS
2023-09-19 19:35:32 +12:00
- _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
2020-07-06 01:51:20 +12:00
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
- _APP_DOMAIN_TARGET
2023-02-10 03:27:11 +13:00
- _APP_DOMAIN_FUNCTIONS
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 01:51:20 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2020-11-19 22:00:24 +13:00
- _APP_SMTP_HOST
- _APP_SMTP_PORT
- _APP_SMTP_SECURE
- _APP_SMTP_USERNAME
- _APP_SMTP_PASSWORD
2021-01-13 00:56:40 +13:00
- _APP_USAGE_STATS
2023-08-21 00:29:43 +12:00
- _APP_INFLUXDB_HOST
- _APP_INFLUXDB_PORT
2020-07-20 03:17:57 +12:00
- _APP_STORAGE_LIMIT
2022-05-17 23:10:50 +12:00
- _APP_STORAGE_PREVIEW_LIMIT
2021-01-03 08:45:59 +13:00
- _APP_STORAGE_ANTIVIRUS
- _APP_STORAGE_ANTIVIRUS_HOST
- _APP_STORAGE_ANTIVIRUS_PORT
2023-08-23 22:08:48 +12:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_DO_SPACES_ACCESS_KEY
- _APP_STORAGE_DO_SPACES_SECRET
- _APP_STORAGE_DO_SPACES_REGION
- _APP_STORAGE_DO_SPACES_BUCKET
- _APP_STORAGE_BACKBLAZE_ACCESS_KEY
- _APP_STORAGE_BACKBLAZE_SECRET
- _APP_STORAGE_BACKBLAZE_REGION
- _APP_STORAGE_BACKBLAZE_BUCKET
- _APP_STORAGE_LINODE_ACCESS_KEY
- _APP_STORAGE_LINODE_SECRET
- _APP_STORAGE_LINODE_REGION
- _APP_STORAGE_LINODE_BUCKET
- _APP_STORAGE_WASABI_ACCESS_KEY
- _APP_STORAGE_WASABI_SECRET
- _APP_STORAGE_WASABI_REGION
- _APP_STORAGE_WASABI_BUCKET
2022-02-23 01:36:43 +13:00
- _APP_FUNCTIONS_SIZE_LIMIT
2020-07-20 02:42:46 +12:00
- _APP_FUNCTIONS_TIMEOUT
2021-11-30 22:39:50 +13:00
- _APP_FUNCTIONS_BUILD_TIMEOUT
2020-12-15 07:04:57 +13:00
- _APP_FUNCTIONS_CPUS
- _APP_FUNCTIONS_MEMORY
2021-04-30 03:08:59 +12:00
- _APP_FUNCTIONS_RUNTIMES
2021-09-22 22:03:04 +12:00
- _APP_EXECUTOR_SECRET
2022-04-12 06:37:07 +12:00
- _APP_EXECUTOR_HOST
2021-11-23 05:12:18 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-08-21 00:29:43 +12:00
- _APP_STATSD_HOST
- _APP_STATSD_PORT
2022-03-16 23:11:04 +13:00
- _APP_MAINTENANCE_INTERVAL
- _APP_MAINTENANCE_RETENTION_EXECUTION
2022-08-18 01:02:01 +12:00
- _APP_MAINTENANCE_RETENTION_CACHE
2022-03-16 23:11:04 +13:00
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2022-10-28 22:54:56 +13:00
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
2023-09-05 22:28:08 +12:00
- _APP_MAINTENANCE_RETENTION_SCHEDULES
2022-08-15 01:43:41 +12:00
- _APP_SMS_PROVIDER
- _APP_SMS_FROM
2022-12-26 23:14:35 +13:00
- _APP_GRAPHQL_MAX_BATCH_SIZE
2022-04-07 18:37:46 +12:00
- _APP_GRAPHQL_MAX_COMPLEXITY
- _APP_GRAPHQL_MAX_DEPTH
2023-07-28 20:53:07 +12:00
- _APP_VCS_GITHUB_APP_NAME
- _APP_VCS_GITHUB_PRIVATE_KEY
- _APP_VCS_GITHUB_APP_ID
- _APP_VCS_GITHUB_WEBHOOK_SECRET
- _APP_VCS_GITHUB_CLIENT_SECRET
- _APP_VCS_GITHUB_CLIENT_ID
2023-10-11 09:01:22 +13:00
- _APP_VCS_TEST_INSTALLATION_ID
- _APP_VCS_TEST_PROVIDER_REPOSITORY_ID
2023-08-08 22:18:29 +12:00
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
2023-08-20 20:10:42 +12:00
- _APP_ASSISTANT_OPENAI_API_KEY
2020-07-06 01:51:20 +12:00
2020-10-16 20:50:46 +13:00
appwrite-realtime :
entrypoint : realtime
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-10-16 20:50:46 +13:00
container_name : appwrite-realtime
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-10-16 20:31:09 +13:00
restart : unless-stopped
ports :
2021-01-10 10:58:21 +13:00
- 9505 : 80
2020-10-16 20:31:09 +13:00
labels :
- "traefik.enable=true"
2021-01-10 10:58:21 +13:00
- "traefik.constraint-label-stack=appwrite"
2020-10-16 20:31:09 +13:00
- "traefik.docker.network=appwrite"
2020-10-16 20:50:46 +13:00
- "traefik.http.services.appwrite_realtime.loadbalancer.server.port=80"
2020-10-16 20:31:09 +13:00
#ws
2020-10-16 20:50:46 +13:00
- traefik.http.routers.appwrite_realtime_ws.entrypoints=appwrite_web
- traefik.http.routers.appwrite_realtime_ws.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_ws.service=appwrite_realtime
2020-10-16 20:31:09 +13:00
# wss
2020-10-16 20:50:46 +13:00
- traefik.http.routers.appwrite_realtime_wss.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_realtime_wss.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_wss.service=appwrite_realtime
- traefik.http.routers.appwrite_realtime_wss.tls=true
- traefik.http.routers.appwrite_realtime_wss.tls.certresolver=dns
2020-10-16 20:31:09 +13:00
networks :
- appwrite
2021-02-22 10:22:32 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-10-16 20:31:09 +13:00
depends_on :
2022-01-02 18:52:07 +13:00
- mariadb
2020-10-16 20:31:09 +13:00
- redis
environment :
- _APP_ENV
2022-03-01 00:05:11 +13:00
- _APP_WORKER_PER_CORE
2020-10-21 02:22:46 +13:00
- _APP_OPTIONS_ABUSE
2023-09-18 23:18:58 +12:00
- _APP_OPTIONS_ROUTER_PROTECTION
2020-10-21 02:22:46 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-10-21 02:22:46 +13:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-04-01 23:59:11 +13:00
- _APP_USAGE_STATS
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-10-16 20:31:09 +13:00
2020-07-06 08:38:13 +12:00
appwrite-worker-audits :
entrypoint : worker-audits
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 08:38:13 +12:00
container_name : appwrite-worker-audits
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 01:51:20 +12:00
networks :
- appwrite
2020-12-09 11:26:05 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 01:51:20 +12:00
depends_on :
- redis
2020-07-06 07:19:14 +12:00
- mariadb
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2022-11-17 01:19:29 +13:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 07:19:14 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 07:19:14 +12:00
2020-07-06 08:38:13 +12:00
appwrite-worker-webhooks :
entrypoint : worker-webhooks
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 08:38:13 +12:00
container_name : appwrite-worker-webhooks
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 07:19:14 +12:00
networks :
- appwrite
2020-12-09 11:26:05 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 07:19:14 +12:00
depends_on :
- redis
- mariadb
2020-10-30 11:26:30 +13:00
- request-catcher
2020-07-06 01:51:20 +12:00
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2022-11-17 01:19:29 +13:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2020-07-06 01:51:20 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2019-05-09 18:54:39 +12:00
2020-07-06 19:38:56 +12:00
appwrite-worker-deletes :
entrypoint : worker-deletes
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 19:38:56 +12:00
container_name : appwrite-worker-deletes
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 19:38:56 +12:00
networks :
- appwrite
2022-03-16 23:11:04 +13:00
depends_on :
- redis
- mariadb
2020-07-06 19:38:56 +12:00
volumes :
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
2022-11-18 08:38:43 +13:00
- appwrite-functions:/storage/functions:rw
- appwrite-builds:/storage/builds:rw
2021-02-06 01:24:12 +13:00
- appwrite-certificates:/storage/certificates:rw
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 19:38:56 +12:00
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2023-08-23 22:08:48 +12:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_DO_SPACES_ACCESS_KEY
- _APP_STORAGE_DO_SPACES_SECRET
- _APP_STORAGE_DO_SPACES_REGION
- _APP_STORAGE_DO_SPACES_BUCKET
- _APP_STORAGE_BACKBLAZE_ACCESS_KEY
- _APP_STORAGE_BACKBLAZE_SECRET
- _APP_STORAGE_BACKBLAZE_REGION
- _APP_STORAGE_BACKBLAZE_BUCKET
- _APP_STORAGE_LINODE_ACCESS_KEY
- _APP_STORAGE_LINODE_SECRET
- _APP_STORAGE_LINODE_REGION
- _APP_STORAGE_LINODE_BUCKET
- _APP_STORAGE_WASABI_ACCESS_KEY
- _APP_STORAGE_WASABI_SECRET
- _APP_STORAGE_WASABI_REGION
- _APP_STORAGE_WASABI_BUCKET
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2022-03-08 00:31:41 +13:00
- _APP_EXECUTOR_SECRET
2022-04-12 06:37:07 +12:00
- _APP_EXECUTOR_HOST
2020-07-06 19:38:56 +12:00
2022-06-22 22:51:49 +12:00
appwrite-worker-databases :
entrypoint : worker-databases
2022-03-29 22:50:57 +13:00
<< : *x-logging
2022-06-22 22:51:49 +12:00
container_name : appwrite-worker-databases
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 19:38:56 +12:00
networks :
- appwrite
volumes :
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on :
- redis
- mariadb
2020-07-06 19:38:56 +12:00
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2022-03-16 23:11:04 +13:00
2022-01-24 11:25:46 +13:00
appwrite-worker-builds :
entrypoint : worker-builds
2022-03-29 22:50:57 +13:00
<< : *x-logging
2022-01-24 11:25:46 +13:00
container_name : appwrite-worker-builds
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2022-01-24 11:25:46 +13:00
networks :
- appwrite
2023-05-22 22:58:13 +12:00
volumes :
- appwrite-functions:/storage/functions:rw
- appwrite-builds:/storage/builds:rw
2022-01-24 11:25:46 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on :
- redis
- mariadb
environment :
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
- _APP_EXECUTOR_SECRET
2022-04-12 06:37:07 +12:00
- _APP_EXECUTOR_HOST
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-01-24 11:25:46 +13:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-07-28 20:53:07 +12:00
- _APP_VCS_GITHUB_APP_NAME
- _APP_VCS_GITHUB_PRIVATE_KEY
- _APP_VCS_GITHUB_APP_ID
2023-07-27 03:09:56 +12:00
- _APP_FUNCTIONS_TIMEOUT
- _APP_FUNCTIONS_BUILD_TIMEOUT
- _APP_FUNCTIONS_CPUS
- _APP_FUNCTIONS_MEMORY
2023-09-19 06:09:22 +12:00
- _APP_FUNCTIONS_SIZE_LIMIT
2023-08-04 07:34:04 +12:00
- _APP_OPTIONS_FORCE_HTTPS
2023-09-19 19:35:32 +12:00
- _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
2023-08-04 07:34:04 +12:00
- _APP_DOMAIN
2023-09-14 00:45:19 +12:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_DO_SPACES_ACCESS_KEY
- _APP_STORAGE_DO_SPACES_SECRET
- _APP_STORAGE_DO_SPACES_REGION
- _APP_STORAGE_DO_SPACES_BUCKET
- _APP_STORAGE_BACKBLAZE_ACCESS_KEY
- _APP_STORAGE_BACKBLAZE_SECRET
- _APP_STORAGE_BACKBLAZE_REGION
- _APP_STORAGE_BACKBLAZE_BUCKET
- _APP_STORAGE_LINODE_ACCESS_KEY
- _APP_STORAGE_LINODE_SECRET
- _APP_STORAGE_LINODE_REGION
- _APP_STORAGE_LINODE_BUCKET
- _APP_STORAGE_WASABI_ACCESS_KEY
- _APP_STORAGE_WASABI_SECRET
- _APP_STORAGE_WASABI_REGION
- _APP_STORAGE_WASABI_BUCKET
2020-07-06 19:38:56 +12:00
appwrite-worker-certificates :
entrypoint : worker-certificates
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 19:38:56 +12:00
container_name : appwrite-worker-certificates
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 19:38:56 +12:00
networks :
- appwrite
2022-03-16 23:11:04 +13:00
depends_on :
- redis
- mariadb
2020-07-06 19:38:56 +12:00
volumes :
- appwrite-config:/storage/config:rw
- appwrite-certificates:/storage/certificates:rw
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 19:38:56 +12:00
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2022-04-10 21:38:22 +12:00
- _APP_DOMAIN
2021-12-29 00:28:29 +13:00
- _APP_DOMAIN_TARGET
2023-02-10 03:27:11 +13:00
- _APP_DOMAIN_FUNCTIONS
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 19:38:56 +12:00
2020-07-16 00:49:10 +12:00
appwrite-worker-functions :
entrypoint : worker-functions
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-16 00:49:10 +12:00
container_name : appwrite-worker-functions
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-16 00:49:10 +12:00
networks :
- appwrite
volumes :
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on :
- redis
- mariadb
2022-11-13 01:51:54 +13:00
- openruntimes-executor
2020-07-16 00:49:10 +12:00
environment :
- _APP_ENV
2023-08-24 07:08:26 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-17 00:04:06 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2023-08-23 22:08:48 +12:00
- _APP_FUNCTIONS_TIMEOUT
- _APP_FUNCTIONS_BUILD_TIMEOUT
- _APP_FUNCTIONS_CPUS
- _APP_FUNCTIONS_MEMORY
2021-09-22 22:03:04 +12:00
- _APP_EXECUTOR_SECRET
2022-04-12 06:37:07 +12:00
- _APP_EXECUTOR_HOST
2021-01-13 18:57:15 +13:00
- _APP_USAGE_STATS
2023-01-20 23:40:06 +13:00
- _APP_DOCKER_HUB_USERNAME
- _APP_DOCKER_HUB_PASSWORD
2023-05-25 07:07:41 +12:00
- _APP_LOGGING_CONFIG
- _APP_LOGGING_PROVIDER
2020-07-16 00:49:10 +12:00
2020-07-06 08:38:13 +12:00
appwrite-worker-mails :
entrypoint : worker-mails
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 08:38:13 +12:00
container_name : appwrite-worker-mails
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 08:38:13 +12:00
networks :
- appwrite
2020-12-09 11:26:05 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 08:38:13 +12:00
depends_on :
- redis
2020-09-28 03:31:29 +13:00
- maildev
# - smtp
2020-07-06 08:38:13 +12:00
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
2020-07-06 08:38:13 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 08:38:13 +12:00
- _APP_SMTP_HOST
- _APP_SMTP_PORT
2020-10-27 03:34:19 +13:00
- _APP_SMTP_SECURE
- _APP_SMTP_USERNAME
- _APP_SMTP_PASSWORD
2021-11-24 03:24:25 +13:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 08:38:13 +12:00
2022-06-09 01:57:34 +12:00
appwrite-worker-messaging :
entrypoint : worker-messaging
<< : *x-logging
container_name : appwrite-worker-messaging
2023-01-14 22:39:29 +13:00
restart : unless-stopped
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2022-06-09 01:57:34 +12:00
networks :
- appwrite
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on :
- redis
environment :
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-06-09 01:57:34 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-08-15 01:43:41 +12:00
- _APP_SMS_PROVIDER
- _APP_SMS_FROM
2022-06-09 01:57:34 +12:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-08-05 04:21:41 +12:00
appwrite-worker-migrations :
entrypoint : worker-migrations
<< : *x-logging
container_name : appwrite-worker-migrations
restart : unless-stopped
image : appwrite-dev
networks :
- appwrite
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
- ./tests:/usr/src/code/tests
depends_on :
- mariadb
environment :
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2023-08-05 04:21:41 +12:00
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
- _APP_DOMAIN_TARGET
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-08-08 22:18:29 +12:00
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
2023-08-05 04:21:41 +12:00
2020-12-15 05:39:44 +13:00
appwrite-maintenance :
entrypoint : maintenance
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-12-15 05:39:44 +13:00
container_name : appwrite-maintenance
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-12-15 05:39:44 +13:00
networks :
- appwrite
2021-01-17 19:17:54 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-12-15 05:39:44 +13:00
depends_on :
- redis
environment :
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-05-17 23:10:50 +12:00
- _APP_DOMAIN
- _APP_DOMAIN_TARGET
2023-02-10 03:27:11 +13:00
- _APP_DOMAIN_FUNCTIONS
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2023-08-23 22:08:48 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-04-10 21:38:22 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2020-12-16 02:40:35 +13:00
- _APP_MAINTENANCE_INTERVAL
2021-01-21 07:23:48 +13:00
- _APP_MAINTENANCE_RETENTION_EXECUTION
2022-08-18 01:02:01 +12:00
- _APP_MAINTENANCE_RETENTION_CACHE
2021-01-21 07:23:48 +13:00
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2023-08-23 22:08:48 +12:00
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
2022-11-17 01:51:43 +13:00
- _APP_MAINTENANCE_RETENTION_SCHEDULES
2020-12-15 05:39:44 +13:00
2023-08-21 00:29:43 +12:00
appwrite-usage :
entrypoint : usage
2022-03-29 22:50:57 +13:00
<< : *x-logging
2023-08-21 00:29:43 +12:00
container_name : appwrite-usage
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2021-08-11 17:44:08 +12:00
networks :
- appwrite
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2023-08-21 00:29:43 +12:00
- ./dev:/usr/local/dev
2021-08-11 17:44:08 +12:00
depends_on :
2023-08-21 00:29:43 +12:00
- influxdb
2021-08-11 17:44:08 +12:00
- mariadb
environment :
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2022-03-16 23:11:04 +13:00
- _APP_OPENSSL_KEY_V1
2021-08-11 17:44:08 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2023-08-21 00:29:43 +12:00
- _APP_INFLUXDB_HOST
- _APP_INFLUXDB_PORT
- _APP_USAGE_AGGREGATION_INTERVAL
2022-08-09 17:52:53 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2023-02-03 07:16:01 +13:00
- _APP_USAGE_STATS
2022-08-09 17:52:53 +12:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2021-08-11 17:44:08 +12:00
2020-07-06 19:38:56 +12:00
appwrite-schedule :
entrypoint : schedule
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-06 19:38:56 +12:00
container_name : appwrite-schedule
2022-09-14 06:45:08 +12:00
image : appwrite-dev
2020-07-06 19:38:56 +12:00
networks :
- appwrite
2020-12-09 11:26:05 +13:00
volumes :
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 19:38:56 +12:00
depends_on :
2022-11-04 18:12:08 +13:00
- mariadb
2020-07-06 19:38:56 +12:00
- redis
environment :
2020-07-08 05:59:20 +12:00
- _APP_ENV
2023-08-24 20:28:30 +12:00
- _APP_WORKER_PER_CORE
2023-09-09 07:08:18 +12:00
- _APP_OPENSSL_KEY_V1
2020-07-06 19:38:56 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-11-04 18:12:08 +13:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2023-08-13 07:08:44 +12:00
appwrite-assistant :
container_name : appwrite-assistant
2023-09-08 09:15:12 +12:00
image : appwrite/assistant:0.2.1
2023-08-13 07:08:44 +12:00
networks :
- appwrite
environment :
- _APP_ASSISTANT_OPENAI_API_KEY
2023-08-09 08:51:31 +12:00
2022-11-08 21:49:45 +13:00
openruntimes-executor :
container_name : openruntimes-executor
2023-09-06 11:43:59 +12:00
hostname : appwrite-executor
2022-11-08 21:49:45 +13:00
<< : *x-logging
stop_signal : SIGINT
2023-09-21 20:31:44 +12:00
image : openruntimes/executor:0.4.2
2022-11-09 06:30:18 +13:00
networks :
- appwrite
2022-11-18 08:38:43 +13:00
- runtimes
2022-11-09 06:30:18 +13:00
volumes :
- /var/run/docker.sock:/var/run/docker.sock
2022-11-18 08:38:43 +13:00
- appwrite-builds:/storage/builds:rw
- appwrite-functions:/storage/functions:rw
2023-03-22 20:45:38 +13:00
# Host mount nessessary to share files between executor and runtimes.
# It's not possible to share mount file between 2 containers without host mount (copying is too slow)
2022-11-09 06:30:18 +13:00
- /tmp:/tmp:rw
environment :
2022-11-11 01:04:49 +13:00
- OPR_EXECUTOR_INACTIVE_TRESHOLD=$_APP_FUNCTIONS_INACTIVE_THRESHOLD
2022-11-22 03:23:43 +13:00
- OPR_EXECUTOR_MAINTENANCE_INTERVAL=$_APP_FUNCTIONS_MAINTENANCE_INTERVAL
2022-11-11 01:04:49 +13:00
- OPR_EXECUTOR_NETWORK=$_APP_FUNCTIONS_RUNTIMES_NETWORK
- OPR_EXECUTOR_DOCKER_HUB_USERNAME=$_APP_DOCKER_HUB_USERNAME
- OPR_EXECUTOR_DOCKER_HUB_PASSWORD=$_APP_DOCKER_HUB_PASSWORD
2022-11-09 06:30:18 +13:00
- OPR_EXECUTOR_ENV=$_APP_ENV
- OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES
2022-11-10 22:37:49 +13:00
- OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET
2023-09-07 18:04:36 +12:00
- OPR_EXECUTOR_RUNTIME_VERSIONS=v2,v3
2022-11-09 06:30:18 +13:00
- OPR_EXECUTOR_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER
- OPR_EXECUTOR_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
2023-08-23 23:52:17 +12:00
- OPR_EXECUTOR_STORAGE_DEVICE=$_APP_STORAGE_DEVICE
- OPR_EXECUTOR_STORAGE_S3_ACCESS_KEY=$_APP_STORAGE_S3_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_S3_SECRET=$_APP_STORAGE_S3_SECRET
- OPR_EXECUTOR_STORAGE_S3_REGION=$_APP_STORAGE_S3_REGION
- OPR_EXECUTOR_STORAGE_S3_BUCKET=$_APP_STORAGE_S3_BUCKET
- OPR_EXECUTOR_STORAGE_DO_SPACES_ACCESS_KEY=$_APP_STORAGE_DO_SPACES_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_DO_SPACES_SECRET=$_APP_STORAGE_DO_SPACES_SECRET
- OPR_EXECUTOR_STORAGE_DO_SPACES_REGION=$_APP_STORAGE_DO_SPACES_REGION
- OPR_EXECUTOR_STORAGE_DO_SPACES_BUCKET=$_APP_STORAGE_DO_SPACES_BUCKET
- OPR_EXECUTOR_STORAGE_BACKBLAZE_ACCESS_KEY=$_APP_STORAGE_BACKBLAZE_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_BACKBLAZE_SECRET=$_APP_STORAGE_BACKBLAZE_SECRET
- OPR_EXECUTOR_STORAGE_BACKBLAZE_REGION=$_APP_STORAGE_BACKBLAZE_REGION
- OPR_EXECUTOR_STORAGE_BACKBLAZE_BUCKET=$_APP_STORAGE_BACKBLAZE_BUCKET
- OPR_EXECUTOR_STORAGE_LINODE_ACCESS_KEY=$_APP_STORAGE_LINODE_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_LINODE_SECRET=$_APP_STORAGE_LINODE_SECRET
- OPR_EXECUTOR_STORAGE_LINODE_REGION=$_APP_STORAGE_LINODE_REGION
- OPR_EXECUTOR_STORAGE_LINODE_BUCKET=$_APP_STORAGE_LINODE_BUCKET
- OPR_EXECUTOR_STORAGE_WASABI_ACCESS_KEY=$_APP_STORAGE_WASABI_ACCESS_KEY
- OPR_EXECUTOR_STORAGE_WASABI_SECRET=$_APP_STORAGE_WASABI_SECRET
- OPR_EXECUTOR_STORAGE_WASABI_REGION=$_APP_STORAGE_WASABI_REGION
- OPR_EXECUTOR_STORAGE_WASABI_BUCKET=$_APP_STORAGE_WASABI_BUCKET
2020-07-06 19:38:56 +12:00
2023-08-09 21:52:34 +12:00
openruntimes-proxy :
container_name : openruntimes-proxy
hostname : proxy
<< : *x-logging
stop_signal : SIGINT
2023-09-06 20:26:27 +12:00
image : openruntimes/proxy:0.3.1
2023-08-09 21:52:34 +12:00
networks :
- appwrite
- runtimes
environment :
- OPR_PROXY_WORKER_PER_CORE=$_APP_WORKER_PER_CORE
- OPR_PROXY_ENV=$_APP_ENV
- OPR_PROXY_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET
- OPR_PROXY_SECRET=$_APP_EXECUTOR_SECRET
- OPR_PROXY_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER
- OPR_PROXY_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
- OPR_PROXY_ALGORITHM=random
2023-09-06 11:43:59 +12:00
- OPR_PROXY_EXECUTORS=appwrite-executor
2023-08-09 21:52:34 +12:00
- OPR_PROXY_HEALTHCHECK_INTERVAL=10000
- OPR_PROXY_MAX_TIMEOUT=600
- OPR_PROXY_HEALTHCHECK=enabled
2019-10-02 10:12:48 +13:00
mariadb :
2022-08-15 06:09:24 +12:00
image: mariadb:10.7 # fix issues when upgrading using : mysql_upgrade -u root -p
2022-11-14 22:36:22 +13:00
container_name : appwrite-mariadb
2022-03-29 22:50:57 +13:00
<< : *x-logging
2019-12-05 18:30:23 +13:00
networks :
2020-02-25 22:13:36 +13:00
- appwrite
2019-12-05 18:30:23 +13:00
volumes :
2020-02-29 19:24:46 +13:00
- appwrite-mariadb:/var/lib/mysql:rw
2019-12-29 22:47:55 +13:00
ports :
2021-01-16 23:33:01 +13:00
- "3306:3306"
2019-10-02 10:12:48 +13:00
environment :
2022-03-16 23:11:04 +13:00
- MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
2020-10-26 03:15:27 +13:00
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
2022-03-16 23:11:04 +13:00
- MYSQL_USER=${_APP_DB_USER}
2020-10-26 03:15:27 +13:00
- MYSQL_PASSWORD=${_APP_DB_PASS}
2023-08-23 22:08:48 +12:00
command : 'mysqld --innodb-flush-method=fsync' # add ' --query_cache_size=0' for DB tests
# command: mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bu && mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
2019-05-09 18:54:39 +12:00
2020-09-28 03:31:29 +13:00
# smtp:
# image: appwrite/smtp:1.2.0
# container_name: appwrite-smtp
2023-08-23 22:08:48 +12:00
# restart: unless-stopped
2020-09-28 03:31:29 +13:00
# networks:
# - appwrite
# environment:
# - LOCAL_DOMAINS=@
# - RELAY_FROM_HOSTS=192.168.0.0/16 ; *.yourdomain.com
# - SMARTHOST_HOST=smtp
# - SMARTHOST_PORT=587
2022-11-04 18:12:08 +13:00
2020-02-25 04:03:48 +13:00
redis :
2022-07-26 01:54:15 +12:00
image : redis:7.0.4-alpine
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-07-16 08:29:34 +12:00
container_name : appwrite-redis
2022-06-21 02:32:34 +12:00
command : >
redis-server
--maxmemory 512mb
--maxmemory-policy allkeys-lru
--maxmemory-samples 5
2021-08-21 05:02:44 +12:00
ports :
- "6379:6379"
2019-12-05 18:30:23 +13:00
networks :
2020-02-25 22:13:36 +13:00
- appwrite
2020-02-29 19:24:46 +13:00
volumes :
- appwrite-redis:/data:rw
2019-08-09 09:49:46 +12:00
2021-04-11 01:28:55 +12:00
# clamav:
# image: appwrite/clamav:1.2.0
# container_name: appwrite-clamav
# networks:
# - appwrite
# volumes:
# - appwrite-uploads:/storage/uploads
2023-08-21 00:29:43 +12:00
influxdb :
image : appwrite/influxdb:1.5.0
container_name : appwrite-influxdb
<< : *x-logging
networks :
- appwrite
volumes :
- appwrite-influxdb:/var/lib/influxdb:rw
telegraf :
image : appwrite/telegraf:1.4.0
container_name : appwrite-telegraf
<< : *x-logging
networks :
- appwrite
environment :
- _APP_INFLUXDB_HOST
- _APP_INFLUXDB_PORT
2021-01-16 23:33:01 +13:00
# Dev Tools Start ------------------------------------------------------------------------------------------
2022-12-12 06:15:38 +13:00
#
2021-01-17 04:10:20 +13:00
# The Appwrite Team uses the following tools to help debug, monitor and diagnose the Appwrite stack
2021-01-16 23:33:01 +13:00
#
# Here is a description of the different tools and why are we using them:
#
# MailCatcher - An SMTP server. Catches all system emails and displays them in a nice UI.
# RequestCatcher - An HTTP server. Catches all system https calls and displays them using a simple HTTP API. Used to debug & tests webhooks and HTTP tasks
# RedisCommander - A nice UI for exploring Redis data
2022-09-18 03:35:33 +12:00
# Resque - A nice UI for exploring Redis pub/sub, view the different queues workloads, pending and failed tasks
2023-08-21 00:29:43 +12:00
# Chronograf - A nice UI for exploring InfluxDB data
2021-01-16 23:33:01 +13:00
# Webgrind - A nice UI for exploring and debugging code-level stuff
2020-11-06 04:52:27 +13:00
maildev : # used mainly for dev tests
2021-01-03 11:48:50 +13:00
image : appwrite/mailcatcher:1.0.0
container_name : appwrite-mailcatcher
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-11-06 04:52:27 +13:00
ports :
2021-01-04 06:16:44 +13:00
- '9503:1080'
2020-11-06 04:52:27 +13:00
networks :
- appwrite
request-catcher : # used mainly for dev tests
2021-01-03 11:48:50 +13:00
image : appwrite/requestcatcher:1.0.0
container_name : appwrite-requestcatcher
2022-03-29 22:50:57 +13:00
<< : *x-logging
2020-11-06 04:52:27 +13:00
ports :
2020-12-28 04:14:42 +13:00
- '9504:5000'
2020-11-06 04:52:27 +13:00
networks :
- appwrite
2021-01-16 23:33:01 +13:00
adminer :
image : adminer
2021-04-27 00:06:37 +12:00
container_name : appwrite-adminer
2022-03-29 22:50:57 +13:00
<< : *x-logging
2023-08-23 22:08:48 +12:00
restart : always
2021-01-16 23:33:01 +13:00
ports :
2021-02-22 06:15:03 +13:00
- 9506 : 8080
2021-01-16 23:33:01 +13:00
networks :
- appwrite
2020-03-02 00:20:39 +13:00
# redis-commander:
# image: rediscommander/redis-commander:latest
2023-08-23 22:08:48 +12:00
# restart: unless-stopped
2020-03-02 00:20:39 +13:00
# networks:
# - appwrite
# environment:
# - REDIS_HOSTS=redis
# ports:
# - "8081:8081"
2020-03-02 00:14:55 +13:00
2020-01-12 19:35:37 +13:00
# resque:
2020-09-24 05:10:05 +12:00
# image: appwrite/resque-web:1.1.0
2023-08-23 22:08:48 +12:00
# restart: unless-stopped
2020-01-12 19:35:37 +13:00
# networks:
2020-02-25 22:13:36 +13:00
# - appwrite
2020-01-12 19:35:37 +13:00
# ports:
2020-02-25 22:13:36 +13:00
# - "5678:5678"
2020-01-12 19:35:37 +13:00
# environment:
2020-02-25 22:13:36 +13:00
# - RESQUE_WEB_HOST=redis
# - RESQUE_WEB_PORT=6379
# - RESQUE_WEB_HTTP_BASIC_AUTH_USER=user
# - RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD=password
2023-08-21 00:29:43 +12:00
# chronograf:
# image: chronograf:1.6
# container_name: appwrite-chronograf
2023-08-23 22:08:48 +12:00
# restart: unless-stopped
2023-08-21 00:29:43 +12:00
# networks:
# - appwrite
# volumes:
# - appwrite-chronograf:/var/lib/chronograf
# ports:
# - "8888:8888"
# environment:
# - INFLUXDB_URL=http://influxdb:8086
# - KAPACITOR_URL=http://kapacitor:9092
# - AUTH_DURATION=48h
# - TOKEN_SECRET=duperduper5674829!jwt
# - GH_CLIENT_ID=d86f7145a41eacfc52cc
# - GH_CLIENT_SECRET=9e0081062367a2134e7f2ea95ba1a32d08b6c8ab
# - GH_ORGS=appwrite
2020-07-06 01:51:20 +12:00
# webgrind:
# image: 'jokkedk/webgrind:latest'
# volumes:
# - './debug:/tmp'
# ports:
# - '3001:80'
2021-01-16 23:33:01 +13:00
2021-03-24 07:00:42 +13:00
graphql-explorer :
2022-04-07 11:23:20 +12:00
container_name : appwrite-graphql-explorer
2022-12-13 01:47:07 +13:00
image : appwrite/altair:0.3.0
2021-03-24 07:00:42 +13:00
restart : unless-stopped
networks :
- appwrite
2021-11-25 21:04:39 +13:00
ports :
2022-04-07 11:23:20 +12:00
- "9509:3000"
2020-06-23 00:03:36 +12:00
environment :
2021-03-24 07:00:42 +13:00
- SERVER_URL=http://localhost/v1/graphql
2021-01-16 23:33:01 +13:00
# Dev Tools End ------------------------------------------------------------------------------------------
2020-07-05 07:18:37 +12:00
2019-12-05 18:30:23 +13:00
networks :
2020-02-25 20:55:55 +13:00
gateway :
2022-11-10 22:37:49 +13:00
name : gateway
2019-12-05 18:30:23 +13:00
appwrite :
2022-11-10 22:37:49 +13:00
name : appwrite
2022-11-18 08:38:43 +13:00
runtimes :
name : runtimes
2019-11-14 17:37:24 +13:00
volumes :
2020-02-29 19:24:46 +13:00
appwrite-mariadb :
appwrite-redis :
2019-11-14 17:37:24 +13:00
appwrite-cache :
appwrite-uploads :
2020-02-23 21:56:27 +13:00
appwrite-certificates :
2022-11-18 08:38:43 +13:00
appwrite-functions :
appwrite-builds :
2023-08-23 22:08:48 +12:00
appwrite-influxdb :
appwrite-config :
2023-08-21 00:29:43 +12:00
# appwrite-chronograf: