appwrite/app/views/install/compose.phtml

981 lines
29 KiB
PHTML
Raw Normal View History

2022-03-29 09:48:49 +00:00
x-logging: &x-logging
logging:
driver: 'json-file'
options:
2022-05-16 14:04:40 +00:00
max-file: '5'
max-size: '10m'
<?php
$httpPort = $this->getParam('httpPort', '');
$httpsPort = $this->getParam('httpsPort', '');
$version = $this->getParam('version', '');
$organization = $this->getParam('organization', '');
$image = $this->getParam('image', '');
2024-10-08 07:54:40 +00:00
?>services:
traefik:
image: traefik:2.11
container_name: appwrite-traefik
2022-05-17 11:10:50 +00:00
<<: *x-logging
command:
- --providers.file.directory=/storage/config
- --providers.file.watch=true
- --providers.docker=true
- --providers.docker.exposedByDefault=false
- --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
2021-03-04 16:37:20 +00:00
- --entrypoints.appwrite_web.address=:80
- --entrypoints.appwrite_websecure.address=:443
restart: unless-stopped
ports:
- <?php echo $httpPort; ?>:80
- <?php echo $httpsPort; ?>:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- appwrite-config:/storage/config:ro
- appwrite-certificates:/storage/certificates:ro
depends_on:
- appwrite
networks:
- gateway
- appwrite
2021-12-21 15:29:09 +00:00
appwrite:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
container_name: appwrite
2022-03-29 09:48:49 +00:00
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
labels:
- traefik.enable=true
- traefik.constraint-label-stack=appwrite
2021-03-04 16:37:20 +00: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
volumes:
- appwrite-uploads:/storage/uploads:rw
2025-05-17 14:43:32 +00:00
- appwrite-imports:/storage/imports:rw
- appwrite-cache:/storage/cache:rw
- appwrite-config:/storage/config:rw
- appwrite-certificates:/storage/certificates:rw
2022-11-17 19:38:43 +00:00
- appwrite-functions:/storage/functions:rw
2025-04-16 10:45:58 +00:00
- appwrite-sites:/storage/sites:rw
- appwrite-builds:/storage/builds:rw
depends_on:
- mariadb
- redis
2021-04-04 02:10:56 +00:00
# - clamav
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_LOCALE
2024-11-08 19:00:05 +00:00
- _APP_COMPRESSION_MIN_SIZE_BYTES
2021-05-12 14:53:25 +00:00
- _APP_CONSOLE_WHITELIST_ROOT
2021-02-22 05:56:36 +00:00
- _APP_CONSOLE_WHITELIST_EMAILS
2024-07-03 07:11:15 +00:00
- _APP_CONSOLE_SESSION_ALERTS
2021-02-22 05:56:36 +00:00
- _APP_CONSOLE_WHITELIST_IPS
- _APP_CONSOLE_HOSTNAMES
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
- _APP_EMAIL_SECURITY
2021-02-22 05:56:36 +00:00
- _APP_SYSTEM_RESPONSE_FORMAT
- _APP_OPTIONS_ABUSE
2023-09-19 07:39:28 +00:00
- _APP_OPTIONS_ROUTER_PROTECTION
- _APP_OPTIONS_FORCE_HTTPS
2025-04-16 08:43:02 +00:00
- _APP_OPTIONS_ROUTER_FORCE_HTTPS
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_TARGET_CNAME
- _APP_DOMAIN_TARGET_AAAA
- _APP_DOMAIN_TARGET_A
2025-08-05 11:44:06 +00:00
- _APP_DOMAIN_TARGET_CAA
- _APP_DOMAINS_DNS
- _APP_DOMAIN_FUNCTIONS
2023-09-05 10:28:08 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
2023-08-28 14:23:16 +00:00
- _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
2021-02-11 09:59:11 +00:00
- _APP_STORAGE_LIMIT
- _APP_STORAGE_PREVIEW_LIMIT
2021-02-11 09:59:11 +00:00
- _APP_STORAGE_ANTIVIRUS
- _APP_STORAGE_ANTIVIRUS_HOST
- _APP_STORAGE_ANTIVIRUS_PORT
2023-09-05 10:28:08 +00:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_S3_ENDPOINT
2023-09-05 10:28:08 +00:00
- _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
2023-08-28 14:23:16 +00:00
- _APP_STORAGE_WASABI_BUCKET
- _APP_COMPUTE_SIZE_LIMIT
- _APP_FUNCTIONS_TIMEOUT
2025-04-08 10:23:43 +00:00
- _APP_SITES_TIMEOUT
- _APP_COMPUTE_BUILD_TIMEOUT
- _APP_COMPUTE_CPUS
- _APP_COMPUTE_MEMORY
2021-04-29 15:08:59 +00:00
- _APP_FUNCTIONS_RUNTIMES
- _APP_SITES_RUNTIMES
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_SITES
2022-03-16 10:11:04 +00:00
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
- _APP_LOGGING_CONFIG
2021-08-15 21:09:40 +00:00
- _APP_MAINTENANCE_INTERVAL
2024-02-12 01:18:19 +00:00
- _APP_MAINTENANCE_DELAY
- _APP_MAINTENANCE_START_TIME
2021-08-15 21:09:40 +00:00
- _APP_MAINTENANCE_RETENTION_EXECUTION
2022-08-17 13:02:01 +00:00
- _APP_MAINTENANCE_RETENTION_CACHE
2021-08-15 21:09:40 +00:00
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2025-03-21 07:42:10 +00:00
- _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
2022-10-28 09:54:56 +00:00
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
2022-11-16 14:14:45 +00:00
- _APP_MAINTENANCE_RETENTION_SCHEDULES
- _APP_SMS_PROVIDER
- _APP_SMS_FROM
2022-12-27 07:24:34 +00:00
- _APP_GRAPHQL_MAX_BATCH_SIZE
- _APP_GRAPHQL_MAX_COMPLEXITY
- _APP_GRAPHQL_MAX_DEPTH
2023-09-05 10:28:08 +00: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
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
2023-08-28 14:23:16 +00:00
- _APP_ASSISTANT_OPENAI_API_KEY
2024-07-17 17:24:52 +00:00
appwrite-console:
<<: *x-logging
container_name: appwrite-console
2025-05-25 17:39:06 +00:00
image: <?php echo $organization; ?>/console:6.0.13
2024-07-17 17:24:52 +00:00
restart: unless-stopped
2024-07-17 20:39:32 +00:00
networks:
- appwrite
2024-07-17 17:24:52 +00:00
labels:
- "traefik.enable=true"
- "traefik.constraint-label-stack=appwrite"
- "traefik.docker.network=appwrite"
2024-07-17 20:39:32 +00:00
- "traefik.http.services.appwrite_console.loadbalancer.server.port=80"
2024-07-17 17:24:52 +00:00
#ws
- traefik.http.routers.appwrite_console_http.entrypoints=appwrite_web
- traefik.http.routers.appwrite_console_http.rule=PathPrefix(`/console`)
- traefik.http.routers.appwrite_console_http.service=appwrite_console
# wss
- traefik.http.routers.appwrite_console_https.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_console_https.rule=PathPrefix(`/console`)
- traefik.http.routers.appwrite_console_https.service=appwrite_console
- traefik.http.routers.appwrite_console_https.tls=true
2021-03-04 09:28:24 +00:00
appwrite-realtime:
2021-05-27 09:08:10 +00:00
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2021-03-04 09:28:24 +00:00
entrypoint: realtime
container_name: appwrite-realtime
2022-03-29 09:48:49 +00:00
<<: *x-logging
2021-03-04 09:28:24 +00:00
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.constraint-label-stack=appwrite"
- "traefik.docker.network=appwrite"
- "traefik.http.services.appwrite_realtime.loadbalancer.server.port=80"
#ws
- 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
# wss
- 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
networks:
- appwrite
depends_on:
- mariadb
2021-03-04 09:28:24 +00:00
- redis
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
2021-03-04 09:28:24 +00:00
- _APP_OPTIONS_ABUSE
2023-09-19 07:39:28 +00:00
- _APP_OPTIONS_ROUTER_PROTECTION
2021-03-04 09:28:24 +00:00
- _APP_OPENSSL_KEY_V1
2023-08-28 14:23:16 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2021-03-04 09:28:24 +00:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-04-01 10:59:11 +00:00
- _APP_USAGE_STATS
- _APP_LOGGING_CONFIG
2021-03-04 09:28:24 +00:00
2022-03-16 10:11:04 +00:00
appwrite-worker-audits:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2022-03-16 10:11:04 +00:00
entrypoint: worker-audits
2022-03-29 09:48:49 +00:00
<<: *x-logging
2022-03-16 10:11:04 +00:00
container_name: appwrite-worker-audits
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
2021-11-25 19:20:28 +00:00
- mariadb
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2023-08-28 14:23:16 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2021-11-25 19:20:28 +00:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_CONFIG
2022-03-16 10:11:04 +00:00
appwrite-worker-webhooks:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2022-03-16 10:11:04 +00:00
entrypoint: worker-webhooks
2022-03-29 09:48:49 +00:00
<<: *x-logging
2022-03-16 10:11:04 +00:00
container_name: appwrite-worker-webhooks
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
- _APP_EMAIL_SECURITY
2022-03-16 10:11:04 +00:00
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
- _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_LOGGING_CONFIG
2022-03-16 10:11:04 +00:00
appwrite-worker-deletes:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2022-03-16 10:11:04 +00:00
entrypoint: worker-deletes
2022-03-29 09:48:49 +00:00
<<: *x-logging
2022-03-16 10:11:04 +00:00
container_name: appwrite-worker-deletes
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
volumes:
2022-03-16 10:11:04 +00:00
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
2022-11-17 19:38:43 +00:00
- appwrite-functions:/storage/functions:rw
2025-04-16 10:45:58 +00:00
- appwrite-sites:/storage/sites:rw
2022-11-17 19:38:43 +00:00
- appwrite-builds:/storage/builds:rw
2022-03-16 10:11:04 +00:00
- appwrite-certificates:/storage/certificates:rw
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2023-09-05 10:28:08 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
2023-08-28 14:23:16 +00:00
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2023-09-05 10:28:08 +00:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_S3_ENDPOINT
2023-09-05 10:28:08 +00:00
- _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
2023-08-28 14:23:16 +00:00
- _APP_STORAGE_WASABI_BUCKET
- _APP_LOGGING_CONFIG
2022-03-16 10:11:04 +00:00
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2025-03-21 07:42:10 +00:00
- _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
- _APP_MAINTENANCE_RETENTION_EXECUTION
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
- _APP_EMAIL_CERTIFICATES
2025-03-18 19:40:46 +00: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 10:51:49 +00:00
appwrite-worker-databases:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
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 10:51:49 +00:00
entrypoint: worker-databases
2022-03-29 09:48:49 +00: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 10:51:49 +00:00
container_name: appwrite-worker-databases
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2023-08-28 14:23:16 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-03-16 10:11:04 +00:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_CONFIG
2025-03-18 19:40:46 +00:00
2022-03-16 10:11:04 +00:00
appwrite-worker-builds:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2022-03-16 10:11:04 +00:00
entrypoint: worker-builds
2022-03-29 09:48:49 +00:00
<<: *x-logging
2022-03-16 10:11:04 +00:00
container_name: appwrite-worker-builds
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
volumes:
- appwrite-functions:/storage/functions:rw
2025-04-16 10:45:58 +00:00
- appwrite-sites:/storage/sites:rw
- appwrite-builds:/storage/builds:rw
2025-04-16 10:45:58 +00:00
- appwrite-uploads:/storage/uploads:rw
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2022-03-16 10:11:04 +00:00
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
2023-08-28 14:23:16 +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_LOGGING_CONFIG
2023-09-05 10:28:08 +00:00
- _APP_VCS_GITHUB_APP_NAME
- _APP_VCS_GITHUB_PRIVATE_KEY
- _APP_VCS_GITHUB_APP_ID
- _APP_FUNCTIONS_TIMEOUT
2025-04-08 10:23:43 +00:00
- _APP_SITES_TIMEOUT
- _APP_COMPUTE_BUILD_TIMEOUT
- _APP_COMPUTE_CPUS
- _APP_COMPUTE_MEMORY
- _APP_COMPUTE_SIZE_LIMIT
2023-09-05 10:28:08 +00:00
- _APP_OPTIONS_FORCE_HTTPS
2025-04-16 08:43:02 +00:00
- _APP_OPTIONS_ROUTER_FORCE_HTTPS
2023-08-28 14:23:16 +00:00
- _APP_DOMAIN
2023-09-13 12:45:19 +00:00
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_S3_ENDPOINT
2023-09-13 12:45:19 +00:00
- _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
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_SITES
2025-03-18 19:40:46 +00:00
appwrite-worker-certificates:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-certificates
2022-03-29 09:48:49 +00:00
<<: *x-logging
container_name: appwrite-worker-certificates
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
volumes:
- appwrite-config:/storage/config:rw
- appwrite-certificates:/storage/certificates:rw
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2022-05-11 13:11:58 +00:00
- _APP_DOMAIN
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_TARGET_CNAME
- _APP_DOMAIN_TARGET_AAAA
- _APP_DOMAIN_TARGET_A
2025-08-05 11:44:06 +00:00
- _APP_DOMAIN_TARGET_CAA
- _APP_DOMAINS_DNS
- _APP_DOMAIN_FUNCTIONS
- _APP_EMAIL_CERTIFICATES
2023-09-05 10:28:08 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
2023-08-28 14:23:16 +00:00
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_CONFIG
2025-03-18 19:40:46 +00:00
appwrite-worker-functions:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-functions
2022-03-29 09:48:49 +00:00
<<: *x-logging
container_name: appwrite-worker-functions
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
2022-11-12 12:51:54 +00:00
- openruntimes-executor
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2024-08-19 08:50:30 +00:00
- _APP_DOMAIN
- _APP_OPTIONS_FORCE_HTTPS
2023-08-28 14:23:16 +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_FUNCTIONS_TIMEOUT
2025-04-08 10:23:43 +00:00
- _APP_SITES_TIMEOUT
- _APP_COMPUTE_BUILD_TIMEOUT
- _APP_COMPUTE_CPUS
- _APP_COMPUTE_MEMORY
2021-09-22 10:08:02 +00:00
- _APP_EXECUTOR_SECRET
- _APP_EXECUTOR_HOST
- _APP_USAGE_STATS
2023-09-05 10:28:08 +00:00
- _APP_DOCKER_HUB_USERNAME
- _APP_DOCKER_HUB_PASSWORD
- _APP_LOGGING_CONFIG
2025-03-18 19:40:46 +00:00
2022-02-25 14:26:55 +00:00
appwrite-worker-mails:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-mails
2022-03-29 09:48:49 +00:00
<<: *x-logging
2022-02-25 14:26:55 +00:00
container_name: appwrite-worker-mails
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-03-02 15:41:35 +00:00
- _APP_OPENSSL_KEY_V1
2022-02-25 14:26:55 +00:00
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2022-02-25 14:26:55 +00:00
- _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_CONFIG
- _APP_DOMAIN
- _APP_OPTIONS_FORCE_HTTPS
2025-03-18 19:40:46 +00:00
appwrite-worker-messaging:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-messaging
<<: *x-logging
container_name: appwrite-worker-messaging
restart: unless-stopped
networks:
- appwrite
volumes:
- appwrite-uploads:/storage/uploads:rw
depends_on:
- redis
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _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_CONFIG
- _APP_SMS_FROM
- _APP_SMS_PROVIDER
- _APP_STORAGE_DEVICE
- _APP_STORAGE_S3_ACCESS_KEY
- _APP_STORAGE_S3_SECRET
- _APP_STORAGE_S3_REGION
- _APP_STORAGE_S3_BUCKET
- _APP_STORAGE_S3_ENDPOINT
- _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
2025-03-18 19:40:46 +00:00
2023-09-01 23:17:37 +00:00
appwrite-worker-migrations:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-migrations
<<: *x-logging
container_name: appwrite-worker-migrations
restart: unless-stopped
networks:
- appwrite
2025-05-17 14:43:32 +00:00
volumes:
- appwrite-imports:/storage/imports:rw
2023-09-01 23:17:37 +00:00
depends_on:
- mariadb
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_TARGET_CNAME
- _APP_DOMAIN_TARGET_AAAA
- _APP_DOMAIN_TARGET_A
2025-08-05 11:44:06 +00:00
- _APP_DOMAIN_TARGET_CAA
- _APP_DOMAINS_DNS
- _APP_EMAIL_SECURITY
2023-09-01 23:17:37 +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_LOGGING_CONFIG
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
2025-03-18 19:40:46 +00:00
2024-05-15 06:46:21 +00:00
appwrite-task-maintenance:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: maintenance
2022-03-29 09:48:49 +00:00
<<: *x-logging
2024-05-15 06:50:59 +00:00
container_name: appwrite-task-maintenance
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
2022-04-10 09:38:22 +00:00
- _APP_DOMAIN
2025-04-16 10:45:58 +00:00
- _APP_DOMAIN_TARGET_CNAME
- _APP_DOMAIN_TARGET_AAAA
- _APP_DOMAIN_TARGET_A
2025-08-05 11:44:06 +00:00
- _APP_DOMAIN_TARGET_CAA
- _APP_DOMAINS_DNS
- _APP_DOMAIN_FUNCTIONS
2023-09-05 10:28:08 +00:00
- _APP_OPENSSL_KEY_V1
2023-08-28 14:23:16 +00:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
2022-05-16 12:46:37 +00:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_MAINTENANCE_INTERVAL
- _APP_MAINTENANCE_RETENTION_EXECUTION
2022-08-17 13:02:01 +00:00
- _APP_MAINTENANCE_RETENTION_CACHE
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2025-03-21 07:42:10 +00:00
- _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
2022-10-28 09:54:56 +00:00
- _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
2023-08-28 14:23:16 +00:00
- _APP_MAINTENANCE_RETENTION_SCHEDULES
2025-03-18 19:40:46 +00:00
2025-01-30 05:24:30 +00:00
appwrite-task-stats-resources:
2023-08-20 12:29:43 +00:00
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2025-01-30 05:24:30 +00:00
container_name: appwrite-task-stats-resources
entrypoint: stats-resources
<<: *x-logging
restart: unless-stopped
2025-01-30 05:24:30 +00:00
networks:
- appwrite
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_USAGE_STATS
- _APP_LOGGING_CONFIG
- _APP_DATABASE_SHARED_TABLES
- _APP_STATS_RESOURCES_INTERVAL
2025-03-18 19:40:46 +00:00
2025-01-30 05:24:30 +00:00
appwrite-worker-stats-resources:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-stats-resources
container_name: appwrite-worker-stats-resources
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
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_USAGE_STATS
- _APP_LOGGING_CONFIG
- _APP_STATS_RESOURCES_INTERVAL
2025-03-18 19:40:46 +00:00
2025-01-30 04:53:53 +00:00
appwrite-worker-stats-usage:
2023-08-20 12:29:43 +00:00
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2025-01-30 04:53:53 +00:00
entrypoint: worker-stats-usage
container_name: appwrite-worker-stats-usage
2023-08-20 12:29:43 +00:00
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
depends_on:
2024-03-08 16:20:10 +00:00
- 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_USAGE_STATS
- _APP_LOGGING_CONFIG
- _APP_USAGE_AGGREGATION_INTERVAL
2025-03-18 19:40:46 +00:00
2024-05-15 06:46:21 +00:00
appwrite-task-scheduler-functions:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
2024-01-11 03:14:38 +00:00
entrypoint: schedule-functions
2024-05-15 06:50:59 +00:00
container_name: appwrite-task-scheduler-functions
2024-01-11 03:14:38 +00:00
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
depends_on:
- mariadb
- 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
2025-03-18 19:40:46 +00:00
2024-06-17 12:44:12 +00:00
appwrite-task-scheduler-executions:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: schedule-executions
container_name: appwrite-task-scheduler-executions
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
depends_on:
- mariadb
- redis
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_REDIS_HOST
2024-01-11 03:14:38 +00:00
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2025-03-18 19:40:46 +00:00
2024-05-15 06:46:21 +00:00
appwrite-task-scheduler-messages:
2024-01-11 03:14:38 +00:00
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: schedule-messages
2024-05-15 06:50:59 +00:00
container_name: appwrite-task-scheduler-messages
2022-03-29 09:48:49 +00:00
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
depends_on:
2023-09-05 10:28:08 +00:00
- mariadb
- redis
environment:
- _APP_ENV
2023-08-28 14:23:16 +00:00
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-01-31 14:56:06 +00:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2023-09-05 10:28:08 +00:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
2023-08-28 14:23:16 +00:00
- _APP_DB_PASS
2025-03-18 19:40:46 +00:00
2023-09-05 10:28:08 +00:00
appwrite-assistant:
image: appwrite/assistant:0.8.3
2023-09-05 10:28:08 +00:00
container_name: appwrite-assistant
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
environment:
- _APP_ASSISTANT_OPENAI_API_KEY
2025-04-16 10:45:58 +00:00
appwrite-browser:
2025-05-17 14:43:32 +00:00
image: appwrite/browser:0.2.4
2025-04-16 10:45:58 +00:00
container_name: appwrite-browser
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
2023-09-05 10:28:08 +00:00
2022-11-10 09:40:15 +00:00
openruntimes-executor:
container_name: openruntimes-executor
2024-05-16 08:33:51 +00:00
hostname: exc1
2022-11-10 09:40:15 +00:00
<<: *x-logging
restart: unless-stopped
2022-11-10 09:40:15 +00:00
stop_signal: SIGINT
image: openruntimes/executor:0.7.22
2022-11-10 09:40:15 +00:00
networks:
- appwrite
2022-11-17 19:38:43 +00:00
- runtimes
2022-11-10 09:40:15 +00:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
2022-11-17 19:38:43 +00:00
- appwrite-builds:/storage/builds:rw
- appwrite-functions:/storage/functions:rw
2025-04-16 10:45:58 +00:00
- appwrite-sites:/storage/sites:rw
2023-09-05 10:28:08 +00: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-10 09:40:15 +00:00
- /tmp:/tmp:rw
environment:
- OPR_EXECUTOR_INACTIVE_TRESHOLD=$_APP_COMPUTE_INACTIVE_THRESHOLD
- OPR_EXECUTOR_MAINTENANCE_INTERVAL=$_APP_COMPUTE_MAINTENANCE_INTERVAL
- OPR_EXECUTOR_NETWORK=$_APP_COMPUTE_RUNTIMES_NETWORK
2022-11-10 12:04:49 +00:00
- OPR_EXECUTOR_DOCKER_HUB_USERNAME=$_APP_DOCKER_HUB_USERNAME
- OPR_EXECUTOR_DOCKER_HUB_PASSWORD=$_APP_DOCKER_HUB_PASSWORD
2022-11-10 09:40:15 +00:00
- OPR_EXECUTOR_ENV=$_APP_ENV
2025-04-16 10:45:58 +00:00
- OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES,$_APP_SITES_RUNTIMES
2022-11-10 09:40:15 +00:00
- OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET
2025-04-16 10:45:58 +00:00
- OPR_EXECUTOR_RUNTIME_VERSIONS=v5
2022-11-10 09:40:15 +00:00
- OPR_EXECUTOR_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
2023-08-28 14:23:16 +00: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_S3_ENDPOINT=$_APP_STORAGE_S3_ENDPOINT
2023-08-28 14:23:16 +00:00
- 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
2022-11-10 09:40:15 +00:00
mariadb:
image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p
container_name: appwrite-mariadb
2022-03-29 09:48:49 +00:00
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
volumes:
- appwrite-mariadb:/var/lib/mysql:rw
environment:
2021-05-18 06:33:48 +00:00
- MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
- MYSQL_USER=${_APP_DB_USER}
- MYSQL_PASSWORD=${_APP_DB_PASS}
- MARIADB_AUTO_UPGRADE=1
2024-10-08 07:54:40 +00:00
command: 'mysqld --innodb-flush-method=fsync'
redis:
image: redis:7.2.4-alpine
container_name: appwrite-redis
2022-03-29 09:48:49 +00:00
<<: *x-logging
restart: unless-stopped
command: >
redis-server
--maxmemory 512mb
--maxmemory-policy allkeys-lru
--maxmemory-samples 5
networks:
- appwrite
volumes:
- appwrite-redis:/data:rw
2022-03-16 10:11:04 +00:00
# clamav:
# image: appwrite/clamav:1.2.0
# container_name: appwrite-clamav
# restart: unless-stopped
# networks:
# - appwrite
# volumes:
# - appwrite-uploads:/storage/uploads
networks:
gateway:
2022-11-10 09:37:49 +00:00
name: gateway
appwrite:
2022-11-10 09:37:49 +00:00
name: appwrite
2022-11-17 19:38:43 +00:00
runtimes:
name: runtimes
volumes:
appwrite-mariadb:
appwrite-redis:
appwrite-cache:
appwrite-uploads:
2025-05-17 14:43:32 +00:00
appwrite-imports:
appwrite-certificates:
2022-11-17 19:38:43 +00:00
appwrite-functions:
2025-04-16 10:45:58 +00:00
appwrite-sites:
2022-11-17 19:38:43 +00:00
appwrite-builds:
2023-08-28 14:23:16 +00:00
appwrite-config: