2024-02-20 14:07:12 +00:00
|
|
|
# documentation: https://appwrite.io
|
2024-02-20 14:42:30 +00:00
|
|
|
# slogan: Appwrite is backend-as-a-service platform that simplifies the web & mobile app development.
|
2023-10-19 09:28:25 +00:00
|
|
|
# env_file: appwrite.env
|
2023-10-24 10:33:49 +00:00
|
|
|
# tags: backend-as-a-service, platform
|
2024-02-20 14:07:12 +00:00
|
|
|
# logo: svgs/appwrite.svg
|
2023-10-19 08:51:03 +00:00
|
|
|
|
|
|
|
|
2023-10-04 09:32:27 +00:00
|
|
|
x-logging: &x-logging
|
|
|
|
logging:
|
|
|
|
driver: 'json-file'
|
|
|
|
options:
|
|
|
|
max-file: '5'
|
|
|
|
max-size: '10m'
|
|
|
|
version: '3'
|
2023-10-19 08:51:03 +00:00
|
|
|
|
2023-10-04 09:32:27 +00:00
|
|
|
services:
|
|
|
|
appwrite:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
container_name: appwrite
|
|
|
|
<<: *x-logging
|
|
|
|
volumes:
|
|
|
|
- appwrite-uploads:/storage/uploads:rw
|
|
|
|
- appwrite-cache:/storage/cache:rw
|
|
|
|
- appwrite-config:/storage/config:rw
|
|
|
|
- appwrite-certificates:/storage/certificates:rw
|
|
|
|
- appwrite-functions:/storage/functions:rw
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-mariadb
|
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- SERVICE_FQDN_APPWRITE=/
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_LOCALE
|
|
|
|
- _APP_CONSOLE_WHITELIST_ROOT
|
|
|
|
- _APP_CONSOLE_WHITELIST_EMAILS
|
|
|
|
- _APP_CONSOLE_WHITELIST_IPS
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_CONSOLE_HOSTNAMES
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_SYSTEM_EMAIL_NAME
|
|
|
|
- _APP_SYSTEM_EMAIL_ADDRESS
|
|
|
|
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
|
|
|
|
- _APP_SYSTEM_RESPONSE_FORMAT
|
|
|
|
- _APP_OPTIONS_ABUSE
|
|
|
|
- _APP_OPTIONS_FORCE_HTTPS
|
|
|
|
- _APP_OPENSSL_KEY_V1
|
2023-11-06 14:22:11 +00:00
|
|
|
- _APP_DOMAIN=$SERVICE_FQDN_APPWRITE
|
|
|
|
- _APP_DOMAIN_TARGET=$SERVICE_FQDN_APPWRITE
|
|
|
|
- _APP_DOMAIN_FUNCTIONS=$SERVICE_FQDN_APPWRITE
|
2023-10-04 09:32:27 +00: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
|
|
|
|
- _APP_SMTP_HOST
|
|
|
|
- _APP_SMTP_PORT
|
|
|
|
- _APP_SMTP_SECURE
|
|
|
|
- _APP_SMTP_USERNAME
|
|
|
|
- _APP_SMTP_PASSWORD
|
|
|
|
- _APP_USAGE_STATS
|
|
|
|
- _APP_STORAGE_LIMIT
|
|
|
|
- _APP_STORAGE_PREVIEW_LIMIT
|
|
|
|
- _APP_STORAGE_ANTIVIRUS
|
|
|
|
- _APP_STORAGE_ANTIVIRUS_HOST
|
|
|
|
- _APP_STORAGE_ANTIVIRUS_PORT
|
|
|
|
- _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_FUNCTIONS_SIZE_LIMIT
|
|
|
|
- _APP_FUNCTIONS_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_BUILD_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_CPUS
|
|
|
|
- _APP_FUNCTIONS_MEMORY
|
|
|
|
- _APP_FUNCTIONS_RUNTIMES
|
|
|
|
- _APP_EXECUTOR_SECRET
|
|
|
|
- _APP_EXECUTOR_HOST
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
- _APP_MAINTENANCE_INTERVAL
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_MAINTENANCE_DELAY
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_MAINTENANCE_RETENTION_EXECUTION
|
|
|
|
- _APP_MAINTENANCE_RETENTION_CACHE
|
|
|
|
- _APP_MAINTENANCE_RETENTION_ABUSE
|
|
|
|
- _APP_MAINTENANCE_RETENTION_AUDIT
|
|
|
|
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
|
|
|
|
- _APP_MAINTENANCE_RETENTION_SCHEDULES
|
|
|
|
- _APP_SMS_PROVIDER
|
|
|
|
- _APP_SMS_FROM
|
|
|
|
- _APP_GRAPHQL_MAX_BATCH_SIZE
|
|
|
|
- _APP_GRAPHQL_MAX_COMPLEXITY
|
|
|
|
- _APP_GRAPHQL_MAX_DEPTH
|
|
|
|
- _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
|
|
|
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
|
|
|
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
|
|
|
|
- _APP_ASSISTANT_OPENAI_API_KEY
|
|
|
|
|
|
|
|
appwrite-realtime:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: realtime
|
|
|
|
<<: *x-logging
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-mariadb
|
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- SERVICE_FQDN_APPWRITE=/v1/realtime
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_OPTIONS_ABUSE
|
|
|
|
- _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
|
|
|
|
- _APP_USAGE_STATS
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
|
|
|
|
appwrite-worker-audits:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-audits
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-audits
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
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
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
|
|
|
|
appwrite-worker-webhooks:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-webhooks
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-webhooks
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_OPENSSL_KEY_V1
|
|
|
|
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
|
|
|
|
- _APP_REDIS_HOST
|
|
|
|
- _APP_REDIS_PORT
|
|
|
|
- _APP_REDIS_USER
|
|
|
|
- _APP_REDIS_PASS
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
|
|
|
|
appwrite-worker-deletes:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-deletes
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-deletes
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
volumes:
|
|
|
|
- appwrite-uploads:/storage/uploads:rw
|
|
|
|
- appwrite-cache:/storage/cache:rw
|
|
|
|
- appwrite-functions:/storage/functions:rw
|
|
|
|
- appwrite-builds:/storage/builds:rw
|
|
|
|
- appwrite-certificates:/storage/certificates:rw
|
|
|
|
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
|
|
|
|
- _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
|
|
|
|
- _APP_EXECUTOR_SECRET
|
|
|
|
- _APP_EXECUTOR_HOST
|
|
|
|
|
|
|
|
appwrite-worker-databases:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-databases
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-databases
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
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
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
|
|
|
|
appwrite-worker-builds:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-builds
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-builds
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
volumes:
|
|
|
|
- appwrite-functions:/storage/functions:rw
|
|
|
|
- appwrite-builds:/storage/builds:rw
|
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_OPENSSL_KEY_V1
|
|
|
|
- _APP_EXECUTOR_SECRET
|
|
|
|
- _APP_EXECUTOR_HOST
|
|
|
|
- _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
|
|
|
|
- _APP_VCS_GITHUB_APP_NAME
|
|
|
|
- _APP_VCS_GITHUB_PRIVATE_KEY
|
|
|
|
- _APP_VCS_GITHUB_APP_ID
|
|
|
|
- _APP_FUNCTIONS_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_BUILD_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_CPUS
|
|
|
|
- _APP_FUNCTIONS_MEMORY
|
|
|
|
- _APP_OPTIONS_FORCE_HTTPS
|
|
|
|
- _APP_DOMAIN
|
|
|
|
- _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
|
|
|
|
|
|
|
|
appwrite-worker-certificates:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-certificates
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-certificates
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
volumes:
|
|
|
|
- appwrite-config:/storage/config:rw
|
|
|
|
- appwrite-certificates:/storage/certificates:rw
|
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_OPENSSL_KEY_V1
|
|
|
|
- _APP_DOMAIN
|
|
|
|
- _APP_DOMAIN_TARGET
|
|
|
|
- _APP_DOMAIN_FUNCTIONS
|
|
|
|
- _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
|
|
|
|
|
|
|
|
appwrite-worker-functions:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-functions
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-functions
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
- openruntimes-executor
|
|
|
|
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
|
|
|
|
- _APP_FUNCTIONS_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_BUILD_TIMEOUT
|
|
|
|
- _APP_FUNCTIONS_CPUS
|
|
|
|
- _APP_FUNCTIONS_MEMORY
|
|
|
|
- _APP_EXECUTOR_SECRET
|
|
|
|
- _APP_EXECUTOR_HOST
|
|
|
|
- _APP_USAGE_STATS
|
|
|
|
- _APP_DOCKER_HUB_USERNAME
|
|
|
|
- _APP_DOCKER_HUB_PASSWORD
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
|
|
|
|
appwrite-worker-mails:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-mails
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-mails
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_OPENSSL_KEY_V1
|
|
|
|
- _APP_SYSTEM_EMAIL_NAME
|
|
|
|
- _APP_SYSTEM_EMAIL_ADDRESS
|
|
|
|
- _APP_REDIS_HOST
|
|
|
|
- _APP_REDIS_PORT
|
|
|
|
- _APP_REDIS_USER
|
|
|
|
- _APP_REDIS_PASS
|
|
|
|
- _APP_SMTP_HOST
|
|
|
|
- _APP_SMTP_PORT
|
|
|
|
- _APP_SMTP_SECURE
|
|
|
|
- _APP_SMTP_USERNAME
|
|
|
|
- _APP_SMTP_PASSWORD
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
|
|
|
|
|
|
|
appwrite-worker-messaging:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-messaging
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-messaging
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_OPENSSL_KEY_V1
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_REDIS_HOST
|
|
|
|
- _APP_REDIS_PORT
|
|
|
|
- _APP_REDIS_USER
|
|
|
|
- _APP_REDIS_PASS
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_DB_HOST
|
|
|
|
- _APP_DB_PORT
|
|
|
|
- _APP_DB_SCHEMA
|
|
|
|
- _APP_DB_USER
|
|
|
|
- _APP_DB_PASS
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_SMS_FROM
|
|
|
|
- _APP_SMS_PROVIDER
|
2023-10-04 09:32:27 +00:00
|
|
|
|
|
|
|
appwrite-worker-migrations:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: worker-migrations
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-migrations
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _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
|
|
|
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
|
|
|
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
|
|
|
|
|
|
|
|
appwrite-maintenance:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: appwrite/appwrite:1.5
|
2023-10-04 09:32:27 +00:00
|
|
|
entrypoint: maintenance
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-maintenance
|
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
environment:
|
|
|
|
- _APP_ENV
|
|
|
|
- _APP_WORKER_PER_CORE
|
|
|
|
- _APP_DOMAIN
|
|
|
|
- _APP_DOMAIN_TARGET
|
|
|
|
- _APP_DOMAIN_FUNCTIONS
|
|
|
|
- _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
|
|
|
|
- _APP_MAINTENANCE_INTERVAL
|
|
|
|
- _APP_MAINTENANCE_RETENTION_EXECUTION
|
|
|
|
- _APP_MAINTENANCE_RETENTION_CACHE
|
|
|
|
- _APP_MAINTENANCE_RETENTION_ABUSE
|
|
|
|
- _APP_MAINTENANCE_RETENTION_AUDIT
|
|
|
|
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
|
|
|
|
- _APP_MAINTENANCE_RETENTION_SCHEDULES
|
|
|
|
|
2024-03-11 16:57:45 +00:00
|
|
|
appwrite-worker-usage:
|
|
|
|
image: appwrite/appwrite:1.5.1
|
|
|
|
entrypoint: worker-usage
|
|
|
|
container_name: appwrite-worker-usage
|
2023-10-04 09:32:27 +00:00
|
|
|
<<: *x-logging
|
2024-03-11 16:57:45 +00:00
|
|
|
restart: unless-stopped
|
2023-10-04 09:32:27 +00:00
|
|
|
depends_on:
|
2024-03-11 16:57:45 +00:00
|
|
|
- appwrite-redis
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-mariadb
|
2023-10-04 09:32:27 +00:00
|
|
|
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
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_REDIS_HOST
|
|
|
|
- _APP_REDIS_PORT
|
|
|
|
- _APP_REDIS_USER
|
|
|
|
- _APP_REDIS_PASS
|
|
|
|
- _APP_USAGE_STATS
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_USAGE_AGGREGATION_INTERVAL
|
2024-03-11 16:57:45 +00:00
|
|
|
|
|
|
|
appwrite-worker-usage-dump:
|
|
|
|
image: appwrite/appwrite:1.5.1
|
|
|
|
entrypoint: worker-usage-dump
|
|
|
|
<<: *x-logging
|
|
|
|
container_name: appwrite-worker-usage-dump
|
|
|
|
depends_on:
|
|
|
|
- appwrite-redis
|
|
|
|
- appwrite-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
|
2023-10-04 09:32:27 +00:00
|
|
|
- _APP_REDIS_HOST
|
|
|
|
- _APP_REDIS_PORT
|
|
|
|
- _APP_REDIS_USER
|
|
|
|
- _APP_REDIS_PASS
|
|
|
|
- _APP_USAGE_STATS
|
|
|
|
- _APP_LOGGING_PROVIDER
|
|
|
|
- _APP_LOGGING_CONFIG
|
2024-03-11 16:57:45 +00:00
|
|
|
- _APP_USAGE_AGGREGATION_INTERVAL
|
2023-10-04 09:32:27 +00:00
|
|
|
|
2024-03-11 16:57:45 +00:00
|
|
|
appwrite-scheduler-functions:
|
|
|
|
image: appwrite/appwrite:1.5
|
|
|
|
entrypoint: schedule-functions
|
|
|
|
container_name: appwrite-scheduler-functions
|
2023-10-04 09:32:27 +00:00
|
|
|
<<: *x-logging
|
2024-03-11 16:57:45 +00:00
|
|
|
restart: unless-stopped
|
2023-10-04 09:32:27 +00:00
|
|
|
depends_on:
|
2023-11-06 14:51:27 +00:00
|
|
|
- appwrite-mariadb
|
|
|
|
- appwrite-redis
|
2023-10-04 09:32:27 +00:00
|
|
|
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
|
|
|
|
|
2024-03-11 16:57:45 +00:00
|
|
|
appwrite-scheduler-messages:
|
|
|
|
image: appwrite/appwrite:1.5
|
|
|
|
entrypoint: schedule-messages
|
|
|
|
container_name: appwrite-scheduler-messages
|
|
|
|
<<: *x-logging
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- appwrite-mariadb
|
|
|
|
- appwrite-redis
|
|
|
|
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-10-04 09:32:27 +00:00
|
|
|
|
2024-03-11 16:57:45 +00:00
|
|
|
appwrite-assistant:
|
|
|
|
image: appwrite/assistant:0.4.0
|
|
|
|
container_name: appwrite-assistant
|
|
|
|
environment:
|
|
|
|
- _APP_ASSISTANT_OPENAI_API_KEY
|
2023-10-04 09:32:27 +00:00
|
|
|
openruntimes-executor:
|
|
|
|
container_name: openruntimes-executor
|
|
|
|
hostname: appwrite-executor
|
|
|
|
<<: *x-logging
|
|
|
|
stop_signal: SIGINT
|
2024-03-11 16:57:45 +00:00
|
|
|
image: openruntimes/executor:0.4.9
|
2023-10-04 09:32:27 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- appwrite-builds:/storage/builds:rw
|
|
|
|
- appwrite-functions:/storage/functions:rw
|
|
|
|
- /tmp:/tmp:rw
|
|
|
|
environment:
|
|
|
|
- OPR_EXECUTOR_INACTIVE_TRESHOLD=$_APP_FUNCTIONS_INACTIVE_THRESHOLD
|
|
|
|
- OPR_EXECUTOR_MAINTENANCE_INTERVAL=$_APP_FUNCTIONS_MAINTENANCE_INTERVAL
|
|
|
|
- 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
|
|
|
|
- OPR_EXECUTOR_ENV=$_APP_ENV
|
|
|
|
- OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES
|
|
|
|
- OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET
|
|
|
|
- OPR_EXECUTOR_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER
|
|
|
|
- OPR_EXECUTOR_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
|
|
|
|
- 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
|
|
|
|
|
2023-11-06 14:51:27 +00:00
|
|
|
appwrite-mariadb:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: mariadb:10.11
|
2023-10-04 09:32:27 +00:00
|
|
|
container_name: appwrite-mariadb
|
|
|
|
<<: *x-logging
|
|
|
|
volumes:
|
|
|
|
- appwrite-mariadb:/var/lib/mysql:rw
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
|
|
|
|
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
|
|
|
|
- MYSQL_USER=${_APP_DB_USER}
|
|
|
|
- MYSQL_PASSWORD=${_APP_DB_PASS}
|
|
|
|
command: 'mysqld --innodb-flush-method=fsync'
|
2023-11-06 14:51:27 +00:00
|
|
|
appwrite-redis:
|
2024-03-11 16:57:45 +00:00
|
|
|
image: redis:7.2.4-alpine
|
2023-10-04 09:32:27 +00:00
|
|
|
container_name: appwrite-redis
|
|
|
|
<<: *x-logging
|
|
|
|
command: >
|
|
|
|
redis-server
|
|
|
|
--maxmemory 512mb
|
|
|
|
--maxmemory-policy allkeys-lru
|
|
|
|
--maxmemory-samples 5
|
|
|
|
volumes:
|
|
|
|
- appwrite-redis:/data:rw
|
|
|
|
volumes:
|
|
|
|
appwrite-mariadb:
|
|
|
|
appwrite-redis:
|
|
|
|
appwrite-cache:
|
|
|
|
appwrite-uploads:
|
|
|
|
appwrite-certificates:
|
|
|
|
appwrite-functions:
|
|
|
|
appwrite-builds:
|
|
|
|
appwrite-config:
|