1
0
Fork 0
mirror of synced 2024-05-17 11:12:41 +12:00
appwrite/docker-compose.yml

1056 lines
29 KiB
YAML
Raw Normal View History

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.
# 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"
2022-03-29 22:50:57 +13:00
options:
max-file: "5"
max-size: "10m"
2020-12-17 10:54:58 +13:00
version: "3"
2019-05-09 18:54:39 +12:00
services:
2020-02-25 20:55:55 +13:00
traefik:
image: traefik:2.11
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
- 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
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
ports:
2020-07-03 00:24:39 +12:00
- 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"
- "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
# - clamav
entrypoint:
- php
- -e
- app/http.php
2019-10-02 10:12:48 +13:00
environment:
2020-07-06 01:51:20 +12:00
- _APP_ENV
- _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
- _APP_CONSOLE_HOSTNAMES
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
- _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
- _APP_USAGE_STATS
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
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
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
- _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-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
2023-10-31 09:35:50 +13:00
- _APP_MESSAGE_SMS_TEST_DSN
- _APP_MESSAGE_EMAIL_TEST_DSN
- _APP_MESSAGE_PUSH_TEST_DSN
2024-02-03 03:31:54 +13:00
- _APP_CONSOLE_COUNTRIES_DENYLIST
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
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
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
- _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
- _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
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
- _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
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
2023-11-14 21:50:26 +13:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
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
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2024-01-27 04:55:35 +13:00
- _APP_WEBHOOK_MAX_FAILED_ATTEMPTS
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
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
volumes:
2020-07-06 19:38:56 +12:00
- 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
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2022-03-08 00:31:41 +13:00
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
2020-07-06 19:38:56 +12:00
Database layer (#3338) * database response model * database collection config * new database scopes * database service update * database execption codes * remove read write permission from database model * updating tests and fixing some bugs * server side tests are now passing * databases api * tests for database endpoint * composer update * fix error * formatting * formatting fixes * get database test * more updates to events and usage * more usage updates * fix delete type * fix test * delete database * more fixes * databaseId in attributes and indexes * more fixes * fix issues * fix index subquery * fix console scope and index query * updating tests as required * fix phpcs errors and warnings * updates to review suggestions * UI progress * ui updates and cleaning up * fix type * rework database events * update tests * update types * event generation fixed * events config updated * updating context to support multiple * realtime updates * fix ids * update context * validator updates * fix naming conflict * fix tests * fix lint errors * fix wprler and realtime tests * fix webhooks test * fix event validator and other tests * formatting fixes * removing leftover var_dumps * remove leftover comment * update usage params * usage metrics updates * update database usage * fix usage * specs update * updates to usage * fix UI and usage * fix lints * internal id fixes * fixes for internal Id * renaming services and related files * rename tests * rename doc link * rename readme * fix test name * tests: fixes for 0.15.x sync Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 22:51:49 +12:00
appwrite-worker-databases:
entrypoint: worker-databases
2022-03-29 22:50:57 +13:00
<<: *x-logging
Database layer (#3338) * database response model * database collection config * new database scopes * database service update * database execption codes * remove read write permission from database model * updating tests and fixing some bugs * server side tests are now passing * databases api * tests for database endpoint * composer update * fix error * formatting * formatting fixes * get database test * more updates to events and usage * more usage updates * fix delete type * fix test * delete database * more fixes * databaseId in attributes and indexes * more fixes * fix issues * fix index subquery * fix console scope and index query * updating tests as required * fix phpcs errors and warnings * updates to review suggestions * UI progress * ui updates and cleaning up * fix type * rework database events * update tests * update types * event generation fixed * events config updated * updating context to support multiple * realtime updates * fix ids * update context * validator updates * fix naming conflict * fix tests * fix lint errors * fix wprler and realtime tests * fix webhooks test * fix event validator and other tests * formatting fixes * removing leftover var_dumps * remove leftover comment * update usage params * usage metrics updates * update database usage * fix usage * specs update * updates to usage * fix UI and usage * fix lints * internal id fixes * fixes for internal Id * renaming services and related files * rename tests * rename doc link * rename readme * fix test name * tests: fixes for 0.15.x sync Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 22:51:49 +12:00
container_name: appwrite-worker-databases
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
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-10-18 02:55:08 +13:00
- _APP_WORKERS_NUM
- _APP_QUEUE_NAME
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
image: appwrite-dev
2022-01-24 11:25:46 +13:00
networks:
- appwrite
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
- _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
- _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
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
volumes:
2020-07-06 19:38:56 +12:00
- 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
- _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
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 19:38:56 +12:00
appwrite-worker-functions:
entrypoint: worker-functions
2022-03-29 22:50:57 +13:00
<<: *x-logging
container_name: appwrite-worker-functions
image: appwrite-dev
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
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
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
- _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-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
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
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
- _APP_DOMAIN
- _APP_OPTIONS_FORCE_HTTPS
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
restart: unless-stopped
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
2023-11-03 00:13:24 +13:00
- _APP_OPENSSL_KEY_V1
2022-06-09 01:57:34 +12:00
- _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
2022-06-09 01:57:34 +12:00
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2023-11-16 09:00:47 +13:00
- _APP_SMS_FROM
- _APP_SMS_PROVIDER
- _APP_SMS_PROJECTS_DENY_LIST
2022-06-09 01:57:34 +12:00
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
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
- _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
- _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
2024-02-12 14:18:19 +13:00
- _APP_MAINTENANCE_DELAY
2020-12-15 05:39:44 +13:00
2023-10-25 20:39:59 +13:00
appwrite-worker-usage:
entrypoint: worker-usage
2022-03-29 22:50:57 +13:00
<<: *x-logging
2023-10-25 20:39:59 +13:00
container_name: appwrite-worker-usage
image: appwrite-dev
2021-08-11 17:44:08 +12:00
networks:
- appwrite
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
2023-10-25 20:39:59 +13:00
- redis
2021-08-11 17:44:08 +12:00
- mariadb
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_USAGE_STATS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
- _APP_USAGE_AGGREGATION_INTERVAL
appwrite-worker-usage-dump:
entrypoint: worker-usage-dump
<<: *x-logging
container_name: appwrite-worker-usage-dump
image: appwrite-dev
networks:
- appwrite
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
2024-01-28 22:28:59 +13:00
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_USAGE_STATS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
- _APP_USAGE_AGGREGATION_INTERVAL
2024-01-11 16:14:38 +13:00
appwrite-scheduler-functions:
entrypoint: schedule-functions
2022-03-29 22:50:57 +13:00
<<: *x-logging
2024-01-11 16:14:38 +13:00
container_name: appwrite-scheduler-functions
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
- _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
2024-01-11 16:14:38 +13:00
appwrite-scheduler-messages:
entrypoint: schedule-messages
<<: *x-logging
2024-01-11 16:14:38 +13:00
container_name: appwrite-scheduler-messages
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
- _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
2024-02-28 23:25:17 +13:00
image: appwrite/assistant:0.4.0
2023-08-13 07:08:44 +12:00
networks:
- appwrite
environment:
- _APP_ASSISTANT_OPENAI_API_KEY
2023-11-28 23:19:55 +13:00
appwrite-worker-hamster:
entrypoint: worker-hamster
<<: *x-logging
container_name: appwrite-worker-hamster
image: appwrite-dev
2023-12-01 10:11:31 +13:00
networks:
- appwrite
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_MIXPANEL_TOKEN
2023-12-01 10:11:31 +13:00
appwrite-hamster-scheduler:
entrypoint: hamster
<<: *x-logging
container_name: appwrite-hamster-scheduler
image: appwrite-dev
2023-11-28 23:19:55 +13:00
networks:
- appwrite
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _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
2023-12-01 10:11:31 +13:00
- _APP_HAMSTER_TIME
- _APP_HAMSTER_INTERVAL
2023-11-28 23:19:55 +13:00
2022-11-08 21:49:45 +13:00
openruntimes-executor:
container_name: openruntimes-executor
hostname: appwrite-executor
2022-11-08 21:49:45 +13:00
<<: *x-logging
stop_signal: SIGINT
image: openruntimes/executor:0.4.12
restart: unless-stopped
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
- 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:
2024-01-21 21:10:18 +13:00
image: mariadb:10.11 # 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
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}
- MARIADB_AUTO_UPGRADE=1
command: "mysqld --innodb-flush-method=fsync" # add ' --query_cache_size=0' for DB tests
2023-08-23 22:08:48 +12:00
# 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:
image: redis:7.2.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
# clamav:
# image: appwrite/clamav:1.2.0
# container_name: appwrite-clamav
# networks:
# - appwrite
# volumes:
# - appwrite-uploads:/storage/uploads
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
2024-02-14 01:26:02 +13:00
# Redis Insight - A nice UI for exploring Redis data
# Adminer - A nice UI for exploring MariaDB data
# GraphQl Explorer - A nice UI for exploring GraphQL API
2021-01-16 23:33:01 +13:00
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:
- "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:
- "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
2024-02-14 01:26:02 +13:00
redis-insight:
image: redis/redisinsight:latest
restart: unless-stopped
networks:
- appwrite
2024-02-14 01:26:02 +13:00
environment:
- REDIS_HOSTS=redis
2024-02-14 01:26:02 +13:00
ports:
- "8081:5540"
graphql-explorer:
container_name: appwrite-graphql-explorer
2022-12-13 01:47:07 +13:00
image: appwrite/altair:0.3.0
restart: unless-stopped
networks:
- appwrite
2021-11-25 21:04:39 +13:00
ports:
- "9509:3000"
2020-06-23 00:03:36 +12:00
environment:
- 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
volumes:
2020-02-29 19:24:46 +13:00
appwrite-mariadb:
appwrite-redis:
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-config: