Advertisement
Guest User

Appwrite fresh install fail logs and docker compose

a guest
Jun 18th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.52 KB | None | 0 0
  1. appwrite-console | 192.168.64.25 - - [18/Jun/2025:21:20:04 +0000] "GET /console/service-worker.js HTTP/1.1" 200 10530 "https://appwrite.domain.com/console/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" "172.28.0.7"
  2. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:06.291
  3. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0052659511566162 seconds
  4. appwrite | [Error] Timestamp: 2025-06-18T21:20:06+00:00
  5. appwrite | [Error] Method: GET
  6. appwrite | [Error] URL: /v1/account
  7. appwrite | [Error] Type: Appwrite\Extend\Exception
  8. appwrite | [Error] Message: User (role: guests) missing scope (account)
  9. appwrite | [Error] File: /usr/src/code/app/controllers/shared/api.php
  10. appwrite | [Error] Line: 375
  11. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:06.624
  12. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0041418075561523 seconds
  13. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:09.290
  14. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0040709972381592 seconds
  15. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:09.625
  16. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0041170120239258 seconds
  17. appwrite-task-scheduler-functions | Sync tick: Running at 2025-06-18 21:20:11.668
  18. appwrite-task-scheduler-functions | 0 resources were loaded in 0.0041520595550537 seconds
  19. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:12.289
  20. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0041561126708984 seconds
  21. appwrite |
  22. appwrite | Deprecated: str_ends_with(): Passing null to parameter #2 ($needle) of type string is deprecated in /usr/src/code/app/http.php on line 578
  23. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:12.623
  24. appwrite | Sync domains tick: 1 domains were updated
  25. appwrite-task-scheduler-messages | 0 resources were loaded in 0.004302978515625 seconds
  26. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:15.291
  27. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0041749477386475 seconds
  28. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:15.626
  29. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0042760372161865 seconds
  30. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:18.289
  31. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0041689872741699 seconds
  32. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:18.626
  33. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0044839382171631 seconds
  34. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:21.290
  35. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0041098594665527 seconds
  36. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:21.625
  37. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0044589042663574 seconds
  38. appwrite-task-scheduler-functions | Sync tick: Running at 2025-06-18 21:20:21.663
  39. appwrite-task-scheduler-functions | 0 resources were loaded in 0.0040860176086426 seconds
  40. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:24.289
  41. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0040578842163086 seconds
  42. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:24.624
  43. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0040531158447266 seconds
  44. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:27.291
  45. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0040750503540039 seconds
  46. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:27.626
  47. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0042572021484375 seconds
  48. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:30.291
  49. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0043540000915527 seconds
  50. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:30.626
  51. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0044798851013184 seconds
  52. appwrite-task-scheduler-functions | Sync tick: Running at 2025-06-18 21:20:31.662
  53. appwrite-task-scheduler-functions | 0 resources were loaded in 0.0042910575866699 seconds
  54. appwrite-worker-functions | [Job] Received Job (68532da11ad8c8.17823057).
  55. appwrite-worker-functions | [Job] (68532da11ad8c8.17823057) successfully run.
  56. appwrite-worker-audits | [Job] Received Job (68532da13dbcc8.43775852).
  57. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:33.289
  58. appwrite-worker-audits | Aggregating audit logs
  59. appwrite-worker-audits | Processing batch with 1 events
  60. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0053942203521729 seconds
  61. appwrite-worker-audits | Audit logs processed successfully
  62. appwrite-worker-audits | [Job] (68532da13dbcc8.43775852) successfully run.
  63. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:33.625
  64. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0049707889556885 seconds
  65. appwrite-worker-functions | [Job] Received Job (68532da1c74d04.72336619).
  66. appwrite-worker-audits | [Job] Received Job (68532da1c78254.48986765).
  67. appwrite-worker-functions | [Job] (68532da1c74d04.72336619) successfully run.
  68. appwrite-worker-audits | Aggregating audit logs
  69. appwrite-worker-audits | [Job] (68532da1c78254.48986765) successfully run.
  70. appwrite | [Error] Timestamp: 2025-06-18T21:20:34+00:00
  71. appwrite | [Error] Method: GET
  72. appwrite | [Error] URL: /v1/console/variables
  73. appwrite | [Error] Type: TypeError
  74. appwrite | [Error] Message: Utopia\Domains\Domain::__construct(): Argument #1 ($domain) must be of type string, null given, called in /usr/src/code/app/controllers/api/console.php on line 49
  75. appwrite | [Error] File: /usr/src/code/vendor/utopia-php/domains/src/Domains/Domain.php
  76. appwrite | [Error] Line: 66
  77. appwrite-console | 192.168.64.25 - - [18/Jun/2025:21:20:34 +0000] "GET /console/_app/version.json HTTP/1.1" 200 47 "https://appwrite.domain.com/console/register?redirect=%2Fconsole%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" "172.28.0.7"
  78. appwrite-console | 192.168.64.25 - - [18/Jun/2025:21:20:34 +0000] "GET /console/_app/version.json HTTP/1.1" 200 47 "https://appwrite.domain.com/console/register?redirect=%2Fconsole%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" "172.28.0.7"
  79. appwrite | [Error] Timestamp: 2025-06-18T21:20:34+00:00
  80. appwrite | [Error] Method: GET
  81. appwrite | [Error] URL: /v1/console/variables
  82. appwrite | [Error] Type: TypeError
  83. appwrite | [Error] Message: Utopia\Domains\Domain::__construct(): Argument #1 ($domain) must be of type string, null given, called in /usr/src/code/app/controllers/api/console.php on line 49
  84. appwrite | [Error] File: /usr/src/code/vendor/utopia-php/domains/src/Domains/Domain.php
  85. appwrite | [Error] Line: 66
  86. appwrite-console | 192.168.64.25 - - [18/Jun/2025:21:20:34 +0000] "GET /console/_app/version.json HTTP/1.1" 200 47 "https://appwrite.domain.com/console/onboarding/create-project" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" "172.28.0.7"
  87. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:36.289
  88. appwrite-task-scheduler-executions | 0 resources were loaded in 0.004040002822876 seconds
  89. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:36.624
  90. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0040030479431152 seconds
  91. appwrite-task-scheduler-executions | Sync tick: Running at 2025-06-18 21:20:39.291
  92. appwrite-task-scheduler-executions | 0 resources were loaded in 0.0041999816894531 seconds
  93. appwrite-task-scheduler-messages | Sync tick: Running at 2025-06-18 21:20:39.626
  94. appwrite-task-scheduler-messages | 0 resources were loaded in 0.0041630268096924 seconds
  95. appwrite-task-scheduler-functions | Sync tick: Running at 2025-06-18 21:20:41.660
  96. appwrite-task-scheduler-functions | 0 resources were loaded in 0.0041530132293701 seconds
  97.  
  98. -------- DOCKER COMPOSE --------
  99.  
  100. x-logging: &x-logging
  101. logging:
  102. driver: 'json-file'
  103. options:
  104. max-file: '5'
  105. max-size: '10m'
  106. services:
  107. traefik:
  108. image: traefik:2.11
  109. container_name: appwrite-traefik
  110. <<: *x-logging
  111. command:
  112. - --providers.file.directory=/storage/config
  113. - --providers.file.watch=true
  114. - --providers.docker=true
  115. - --providers.docker.exposedByDefault=false
  116. - --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
  117. - --entrypoints.appwrite_web.address=:80
  118. - --entrypoints.appwrite_websecure.address=:443
  119. restart: unless-stopped
  120. volumes:
  121. - /var/run/docker.sock:/var/run/docker.sock
  122. - ./appwrite-config:/storage/config:ro
  123. - ./appwrite-certificates:/storage/certificates:ro
  124. depends_on:
  125. - appwrite
  126. networks:
  127. - gateway
  128. - appwrite
  129. - shared_network
  130.  
  131. appwrite:
  132. image: appwrite/appwrite:1.7.4
  133. container_name: appwrite
  134. <<: *x-logging
  135. restart: unless-stopped
  136. networks:
  137. - appwrite
  138. labels:
  139. - traefik.enable=true
  140. - traefik.constraint-label-stack=appwrite
  141. - traefik.docker.network=appwrite
  142. - traefik.http.services.appwrite_api.loadbalancer.server.port=80
  143. #http
  144. - traefik.http.routers.appwrite_api_http.entrypoints=appwrite_web
  145. - traefik.http.routers.appwrite_api_http.rule=PathPrefix(`/`)
  146. - traefik.http.routers.appwrite_api_http.service=appwrite_api
  147. # https
  148. - traefik.http.routers.appwrite_api_https.entrypoints=appwrite_websecure
  149. - traefik.http.routers.appwrite_api_https.rule=PathPrefix(`/`)
  150. - traefik.http.routers.appwrite_api_https.service=appwrite_api
  151. - traefik.http.routers.appwrite_api_https.tls=true
  152. volumes:
  153. - ./appwrite-uploads:/storage/uploads:rw
  154. - ./appwrite-cache:/storage/cache:rw
  155. - ./appwrite-config:/storage/config:rw
  156. - ./appwrite-certificates:/storage/certificates:rw
  157. - ./appwrite-functions:/storage/functions:rw
  158. depends_on:
  159. - mariadb
  160. - redis
  161. # - clamav
  162. environment:
  163. - _APP_ENV
  164. - _APP_WORKER_PER_CORE
  165. - _APP_LOCALE
  166. - _APP_COMPRESSION_MIN_SIZE_BYTES
  167. - _APP_CONSOLE_WHITELIST_ROOT
  168. - _APP_CONSOLE_WHITELIST_EMAILS
  169. - _APP_CONSOLE_SESSION_ALERTS
  170. - _APP_CONSOLE_WHITELIST_IPS
  171. - _APP_CONSOLE_HOSTNAMES
  172. - _APP_SYSTEM_EMAIL_NAME
  173. - _APP_SYSTEM_EMAIL_ADDRESS
  174. - _APP_EMAIL_SECURITY
  175. - _APP_SYSTEM_RESPONSE_FORMAT
  176. - _APP_OPTIONS_ABUSE
  177. - _APP_OPTIONS_ROUTER_PROTECTION
  178. - _APP_OPTIONS_FORCE_HTTPS
  179. - _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
  180. - _APP_OPENSSL_KEY_V1
  181. - _APP_DOMAIN
  182. - _APP_DOMAIN_TARGET
  183. - _APP_DOMAIN_FUNCTIONS
  184. - _APP_REDIS_HOST
  185. - _APP_REDIS_PORT
  186. - _APP_REDIS_USER
  187. - _APP_REDIS_PASS
  188. - _APP_DB_HOST
  189. - _APP_DB_PORT
  190. - _APP_DB_SCHEMA
  191. - _APP_DB_USER
  192. - _APP_DB_PASS
  193. - _APP_SMTP_HOST
  194. - _APP_SMTP_PORT
  195. - _APP_SMTP_SECURE
  196. - _APP_SMTP_USERNAME
  197. - _APP_SMTP_PASSWORD
  198. - _APP_USAGE_STATS
  199. - _APP_STORAGE_LIMIT
  200. - _APP_STORAGE_PREVIEW_LIMIT
  201. - _APP_STORAGE_ANTIVIRUS
  202. - _APP_STORAGE_ANTIVIRUS_HOST
  203. - _APP_STORAGE_ANTIVIRUS_PORT
  204. - _APP_STORAGE_DEVICE
  205. - _APP_STORAGE_S3_ACCESS_KEY
  206. - _APP_STORAGE_S3_SECRET
  207. - _APP_STORAGE_S3_REGION
  208. - _APP_STORAGE_S3_BUCKET
  209. - _APP_STORAGE_S3_ENDPOINT
  210. - _APP_STORAGE_DO_SPACES_ACCESS_KEY
  211. - _APP_STORAGE_DO_SPACES_SECRET
  212. - _APP_STORAGE_DO_SPACES_REGION
  213. - _APP_STORAGE_DO_SPACES_BUCKET
  214. - _APP_STORAGE_BACKBLAZE_ACCESS_KEY
  215. - _APP_STORAGE_BACKBLAZE_SECRET
  216. - _APP_STORAGE_BACKBLAZE_REGION
  217. - _APP_STORAGE_BACKBLAZE_BUCKET
  218. - _APP_STORAGE_LINODE_ACCESS_KEY
  219. - _APP_STORAGE_LINODE_SECRET
  220. - _APP_STORAGE_LINODE_REGION
  221. - _APP_STORAGE_LINODE_BUCKET
  222. - _APP_STORAGE_WASABI_ACCESS_KEY
  223. - _APP_STORAGE_WASABI_SECRET
  224. - _APP_STORAGE_WASABI_REGION
  225. - _APP_STORAGE_WASABI_BUCKET
  226. - _APP_FUNCTIONS_SIZE_LIMIT
  227. - _APP_FUNCTIONS_TIMEOUT
  228. - _APP_FUNCTIONS_BUILD_TIMEOUT
  229. - _APP_FUNCTIONS_CPUS
  230. - _APP_FUNCTIONS_MEMORY
  231. - _APP_FUNCTIONS_RUNTIMES
  232. - _APP_EXECUTOR_SECRET
  233. - _APP_EXECUTOR_HOST
  234. - _APP_LOGGING_CONFIG
  235. - _APP_MAINTENANCE_INTERVAL
  236. - _APP_MAINTENANCE_DELAY
  237. - _APP_MAINTENANCE_RETENTION_EXECUTION
  238. - _APP_MAINTENANCE_RETENTION_CACHE
  239. - _APP_MAINTENANCE_RETENTION_ABUSE
  240. - _APP_MAINTENANCE_RETENTION_AUDIT
  241. - _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
  242. - _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
  243. - _APP_MAINTENANCE_RETENTION_SCHEDULES
  244. - _APP_SMS_PROVIDER
  245. - _APP_SMS_FROM
  246. - _APP_GRAPHQL_MAX_BATCH_SIZE
  247. - _APP_GRAPHQL_MAX_COMPLEXITY
  248. - _APP_GRAPHQL_MAX_DEPTH
  249. - _APP_VCS_GITHUB_APP_NAME
  250. - _APP_VCS_GITHUB_PRIVATE_KEY
  251. - _APP_VCS_GITHUB_APP_ID
  252. - _APP_VCS_GITHUB_WEBHOOK_SECRET
  253. - _APP_VCS_GITHUB_CLIENT_SECRET
  254. - _APP_VCS_GITHUB_CLIENT_ID
  255. - _APP_MIGRATIONS_FIREBASE_CLIENT_ID
  256. - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
  257. - _APP_ASSISTANT_OPENAI_API_KEY
  258. appwrite-console:
  259. <<: *x-logging
  260. container_name: appwrite-console
  261. image: appwrite/console:latest
  262. restart: unless-stopped
  263. networks:
  264. - appwrite
  265. labels:
  266. - "traefik.enable=true"
  267. - "traefik.constraint-label-stack=appwrite"
  268. - "traefik.docker.network=appwrite"
  269. - "traefik.http.services.appwrite_console.loadbalancer.server.port=80"
  270. #ws
  271. - traefik.http.routers.appwrite_console_http.entrypoints=appwrite_web
  272. - traefik.http.routers.appwrite_console_http.rule=PathPrefix(`/console`)
  273. - traefik.http.routers.appwrite_console_http.service=appwrite_console
  274. # wss
  275. - traefik.http.routers.appwrite_console_https.entrypoints=appwrite_websecure
  276. - traefik.http.routers.appwrite_console_https.rule=PathPrefix(`/console`)
  277. - traefik.http.routers.appwrite_console_https.service=appwrite_console
  278. - traefik.http.routers.appwrite_console_https.tls=true
  279.  
  280. appwrite-realtime:
  281. image: appwrite/appwrite:1.7.4
  282. entrypoint: realtime
  283. container_name: appwrite-realtime
  284. <<: *x-logging
  285. restart: unless-stopped
  286. labels:
  287. - "traefik.enable=true"
  288. - "traefik.constraint-label-stack=appwrite"
  289. - "traefik.docker.network=appwrite"
  290. - "traefik.http.services.appwrite_realtime.loadbalancer.server.port=80"
  291. #ws
  292. - traefik.http.routers.appwrite_realtime_ws.entrypoints=appwrite_web
  293. - traefik.http.routers.appwrite_realtime_ws.rule=PathPrefix(`/v1/realtime`)
  294. - traefik.http.routers.appwrite_realtime_ws.service=appwrite_realtime
  295. # wss
  296. - traefik.http.routers.appwrite_realtime_wss.entrypoints=appwrite_websecure
  297. - traefik.http.routers.appwrite_realtime_wss.rule=PathPrefix(`/v1/realtime`)
  298. - traefik.http.routers.appwrite_realtime_wss.service=appwrite_realtime
  299. - traefik.http.routers.appwrite_realtime_wss.tls=true
  300. networks:
  301. - appwrite
  302. depends_on:
  303. - mariadb
  304. - redis
  305. environment:
  306. - _APP_ENV
  307. - _APP_WORKER_PER_CORE
  308. - _APP_OPTIONS_ABUSE
  309. - _APP_OPTIONS_ROUTER_PROTECTION
  310. - _APP_OPENSSL_KEY_V1
  311. - _APP_REDIS_HOST
  312. - _APP_REDIS_PORT
  313. - _APP_REDIS_USER
  314. - _APP_REDIS_PASS
  315. - _APP_DB_HOST
  316. - _APP_DB_PORT
  317. - _APP_DB_SCHEMA
  318. - _APP_DB_USER
  319. - _APP_DB_PASS
  320. - _APP_USAGE_STATS
  321. - _APP_LOGGING_CONFIG
  322.  
  323. appwrite-worker-audits:
  324. image: appwrite/appwrite:1.7.4
  325. entrypoint: worker-audits
  326. <<: *x-logging
  327. container_name: appwrite-worker-audits
  328. restart: unless-stopped
  329. networks:
  330. - appwrite
  331. depends_on:
  332. - redis
  333. - mariadb
  334. environment:
  335. - _APP_ENV
  336. - _APP_WORKER_PER_CORE
  337. - _APP_OPENSSL_KEY_V1
  338. - _APP_REDIS_HOST
  339. - _APP_REDIS_PORT
  340. - _APP_REDIS_USER
  341. - _APP_REDIS_PASS
  342. - _APP_DB_HOST
  343. - _APP_DB_PORT
  344. - _APP_DB_SCHEMA
  345. - _APP_DB_USER
  346. - _APP_DB_PASS
  347. - _APP_LOGGING_CONFIG
  348.  
  349. appwrite-worker-webhooks:
  350. image: appwrite/appwrite:1.7.4
  351. entrypoint: worker-webhooks
  352. <<: *x-logging
  353. container_name: appwrite-worker-webhooks
  354. restart: unless-stopped
  355. networks:
  356. - appwrite
  357. depends_on:
  358. - redis
  359. - mariadb
  360. environment:
  361. - _APP_ENV
  362. - _APP_WORKER_PER_CORE
  363. - _APP_OPENSSL_KEY_V1
  364. - _APP_EMAIL_SECURITY
  365. - _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
  366. - _APP_DB_HOST
  367. - _APP_DB_PORT
  368. - _APP_DB_SCHEMA
  369. - _APP_DB_USER
  370. - _APP_DB_PASS
  371. - _APP_REDIS_HOST
  372. - _APP_REDIS_PORT
  373. - _APP_REDIS_USER
  374. - _APP_REDIS_PASS
  375. - _APP_LOGGING_CONFIG
  376.  
  377. appwrite-worker-deletes:
  378. image: appwrite/appwrite:1.7.4
  379. entrypoint: worker-deletes
  380. <<: *x-logging
  381. container_name: appwrite-worker-deletes
  382. restart: unless-stopped
  383. networks:
  384. - appwrite
  385. depends_on:
  386. - redis
  387. - mariadb
  388. volumes:
  389. - ./appwrite-uploads:/storage/uploads:rw
  390. - ./appwrite-cache:/storage/cache:rw
  391. - ./appwrite-functions:/storage/functions:rw
  392. - ./appwrite-builds:/storage/builds:rw
  393. - ./appwrite-certificates:/storage/certificates:rw
  394. environment:
  395. - _APP_ENV
  396. - _APP_WORKER_PER_CORE
  397. - _APP_OPENSSL_KEY_V1
  398. - _APP_REDIS_HOST
  399. - _APP_REDIS_PORT
  400. - _APP_REDIS_USER
  401. - _APP_REDIS_PASS
  402. - _APP_DB_HOST
  403. - _APP_DB_PORT
  404. - _APP_DB_SCHEMA
  405. - _APP_DB_USER
  406. - _APP_DB_PASS
  407. - _APP_STORAGE_DEVICE
  408. - _APP_STORAGE_S3_ACCESS_KEY
  409. - _APP_STORAGE_S3_SECRET
  410. - _APP_STORAGE_S3_REGION
  411. - _APP_STORAGE_S3_BUCKET
  412. - _APP_STORAGE_S3_ENDPOINT
  413. - _APP_STORAGE_DO_SPACES_ACCESS_KEY
  414. - _APP_STORAGE_DO_SPACES_SECRET
  415. - _APP_STORAGE_DO_SPACES_REGION
  416. - _APP_STORAGE_DO_SPACES_BUCKET
  417. - _APP_STORAGE_BACKBLAZE_ACCESS_KEY
  418. - _APP_STORAGE_BACKBLAZE_SECRET
  419. - _APP_STORAGE_BACKBLAZE_REGION
  420. - _APP_STORAGE_BACKBLAZE_BUCKET
  421. - _APP_STORAGE_LINODE_ACCESS_KEY
  422. - _APP_STORAGE_LINODE_SECRET
  423. - _APP_STORAGE_LINODE_REGION
  424. - _APP_STORAGE_LINODE_BUCKET
  425. - _APP_STORAGE_WASABI_ACCESS_KEY
  426. - _APP_STORAGE_WASABI_SECRET
  427. - _APP_STORAGE_WASABI_REGION
  428. - _APP_STORAGE_WASABI_BUCKET
  429. - _APP_LOGGING_CONFIG
  430. - _APP_EXECUTOR_SECRET
  431. - _APP_EXECUTOR_HOST
  432. - _APP_MAINTENANCE_RETENTION_ABUSE
  433. - _APP_MAINTENANCE_RETENTION_AUDIT
  434. - _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
  435. - _APP_MAINTENANCE_RETENTION_EXECUTION
  436. - _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
  437. - _APP_EMAIL_CERTIFICATES
  438.  
  439. appwrite-worker-databases:
  440. image: appwrite/appwrite:1.7.4
  441. entrypoint: worker-databases
  442. <<: *x-logging
  443. container_name: appwrite-worker-databases
  444. restart: unless-stopped
  445. networks:
  446. - appwrite
  447. depends_on:
  448. - redis
  449. - mariadb
  450. environment:
  451. - _APP_ENV
  452. - _APP_WORKER_PER_CORE
  453. - _APP_OPENSSL_KEY_V1
  454. - _APP_REDIS_HOST
  455. - _APP_REDIS_PORT
  456. - _APP_REDIS_USER
  457. - _APP_REDIS_PASS
  458. - _APP_DB_HOST
  459. - _APP_DB_PORT
  460. - _APP_DB_SCHEMA
  461. - _APP_DB_USER
  462. - _APP_DB_PASS
  463. - _APP_LOGGING_CONFIG
  464.  
  465. appwrite-worker-builds:
  466. image: appwrite/appwrite:1.7.4
  467. entrypoint: worker-builds
  468. <<: *x-logging
  469. container_name: appwrite-worker-builds
  470. restart: unless-stopped
  471. networks:
  472. - appwrite
  473. depends_on:
  474. - redis
  475. - mariadb
  476. volumes:
  477. - ./appwrite-functions:/storage/functions:rw
  478. - ./appwrite-builds:/storage/builds:rw
  479. environment:
  480. - _APP_ENV
  481. - _APP_WORKER_PER_CORE
  482. - _APP_OPENSSL_KEY_V1
  483. - _APP_EXECUTOR_SECRET
  484. - _APP_EXECUTOR_HOST
  485. - _APP_REDIS_HOST
  486. - _APP_REDIS_PORT
  487. - _APP_REDIS_USER
  488. - _APP_REDIS_PASS
  489. - _APP_DB_HOST
  490. - _APP_DB_PORT
  491. - _APP_DB_SCHEMA
  492. - _APP_DB_USER
  493. - _APP_DB_PASS
  494. - _APP_LOGGING_CONFIG
  495. - _APP_VCS_GITHUB_APP_NAME
  496. - _APP_VCS_GITHUB_PRIVATE_KEY
  497. - _APP_VCS_GITHUB_APP_ID
  498. - _APP_FUNCTIONS_TIMEOUT
  499. - _APP_FUNCTIONS_BUILD_TIMEOUT
  500. - _APP_FUNCTIONS_CPUS
  501. - _APP_FUNCTIONS_MEMORY
  502. - _APP_FUNCTIONS_SIZE_LIMIT
  503. - _APP_OPTIONS_FORCE_HTTPS
  504. - _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
  505. - _APP_DOMAIN
  506. - _APP_STORAGE_DEVICE
  507. - _APP_STORAGE_S3_ACCESS_KEY
  508. - _APP_STORAGE_S3_SECRET
  509. - _APP_STORAGE_S3_REGION
  510. - _APP_STORAGE_S3_BUCKET
  511. - _APP_STORAGE_S3_ENDPOINT
  512. - _APP_STORAGE_DO_SPACES_ACCESS_KEY
  513. - _APP_STORAGE_DO_SPACES_SECRET
  514. - _APP_STORAGE_DO_SPACES_REGION
  515. - _APP_STORAGE_DO_SPACES_BUCKET
  516. - _APP_STORAGE_BACKBLAZE_ACCESS_KEY
  517. - _APP_STORAGE_BACKBLAZE_SECRET
  518. - _APP_STORAGE_BACKBLAZE_REGION
  519. - _APP_STORAGE_BACKBLAZE_BUCKET
  520. - _APP_STORAGE_LINODE_ACCESS_KEY
  521. - _APP_STORAGE_LINODE_SECRET
  522. - _APP_STORAGE_LINODE_REGION
  523. - _APP_STORAGE_LINODE_BUCKET
  524. - _APP_STORAGE_WASABI_ACCESS_KEY
  525. - _APP_STORAGE_WASABI_SECRET
  526. - _APP_STORAGE_WASABI_REGION
  527. - _APP_STORAGE_WASABI_BUCKET
  528.  
  529. appwrite-worker-certificates:
  530. image: appwrite/appwrite:1.7.4
  531. entrypoint: worker-certificates
  532. <<: *x-logging
  533. container_name: appwrite-worker-certificates
  534. restart: unless-stopped
  535. networks:
  536. - appwrite
  537. depends_on:
  538. - redis
  539. - mariadb
  540. volumes:
  541. - ./appwrite-config:/storage/config:rw
  542. - ./appwrite-certificates:/storage/certificates:rw
  543. environment:
  544. - _APP_ENV
  545. - _APP_WORKER_PER_CORE
  546. - _APP_OPENSSL_KEY_V1
  547. - _APP_DOMAIN
  548. - _APP_DOMAIN_TARGET
  549. - _APP_DOMAIN_FUNCTIONS
  550. - _APP_EMAIL_CERTIFICATES
  551. - _APP_REDIS_HOST
  552. - _APP_REDIS_PORT
  553. - _APP_REDIS_USER
  554. - _APP_REDIS_PASS
  555. - _APP_DB_HOST
  556. - _APP_DB_PORT
  557. - _APP_DB_SCHEMA
  558. - _APP_DB_USER
  559. - _APP_DB_PASS
  560. - _APP_LOGGING_CONFIG
  561.  
  562. appwrite-worker-functions:
  563. image: appwrite/appwrite:1.7.4
  564. entrypoint: worker-functions
  565. <<: *x-logging
  566. container_name: appwrite-worker-functions
  567. restart: unless-stopped
  568. networks:
  569. - appwrite
  570. depends_on:
  571. - redis
  572. - mariadb
  573. - openruntimes-executor
  574. environment:
  575. - _APP_ENV
  576. - _APP_WORKER_PER_CORE
  577. - _APP_OPENSSL_KEY_V1
  578. - _APP_DOMAIN
  579. - _APP_OPTIONS_FORCE_HTTPS
  580. - _APP_REDIS_HOST
  581. - _APP_REDIS_PORT
  582. - _APP_REDIS_USER
  583. - _APP_REDIS_PASS
  584. - _APP_DB_HOST
  585. - _APP_DB_PORT
  586. - _APP_DB_SCHEMA
  587. - _APP_DB_USER
  588. - _APP_DB_PASS
  589. - _APP_FUNCTIONS_TIMEOUT
  590. - _APP_FUNCTIONS_BUILD_TIMEOUT
  591. - _APP_FUNCTIONS_CPUS
  592. - _APP_FUNCTIONS_MEMORY
  593. - _APP_EXECUTOR_SECRET
  594. - _APP_EXECUTOR_HOST
  595. - _APP_USAGE_STATS
  596. - _APP_DOCKER_HUB_USERNAME
  597. - _APP_DOCKER_HUB_PASSWORD
  598. - _APP_LOGGING_CONFIG
  599.  
  600. appwrite-worker-mails:
  601. image: appwrite/appwrite:1.7.4
  602. entrypoint: worker-mails
  603. <<: *x-logging
  604. container_name: appwrite-worker-mails
  605. restart: unless-stopped
  606. networks:
  607. - appwrite
  608. depends_on:
  609. - redis
  610. environment:
  611. - _APP_ENV
  612. - _APP_WORKER_PER_CORE
  613. - _APP_OPENSSL_KEY_V1
  614. - _APP_SYSTEM_EMAIL_NAME
  615. - _APP_SYSTEM_EMAIL_ADDRESS
  616. - _APP_DB_HOST
  617. - _APP_DB_PORT
  618. - _APP_DB_SCHEMA
  619. - _APP_DB_USER
  620. - _APP_DB_PASS
  621. - _APP_REDIS_HOST
  622. - _APP_REDIS_PORT
  623. - _APP_REDIS_USER
  624. - _APP_REDIS_PASS
  625. - _APP_SMTP_HOST
  626. - _APP_SMTP_PORT
  627. - _APP_SMTP_SECURE
  628. - _APP_SMTP_USERNAME
  629. - _APP_SMTP_PASSWORD
  630. - _APP_LOGGING_CONFIG
  631. - _APP_DOMAIN
  632. - _APP_OPTIONS_FORCE_HTTPS
  633.  
  634. appwrite-worker-messaging:
  635. image: appwrite/appwrite:1.7.4
  636. entrypoint: worker-messaging
  637. <<: *x-logging
  638. container_name: appwrite-worker-messaging
  639. restart: unless-stopped
  640. networks:
  641. - appwrite
  642. volumes:
  643. - ./appwrite-uploads:/storage/uploads:rw
  644. depends_on:
  645. - redis
  646. environment:
  647. - _APP_ENV
  648. - _APP_WORKER_PER_CORE
  649. - _APP_OPENSSL_KEY_V1
  650. - _APP_REDIS_HOST
  651. - _APP_REDIS_PORT
  652. - _APP_REDIS_USER
  653. - _APP_REDIS_PASS
  654. - _APP_DB_HOST
  655. - _APP_DB_PORT
  656. - _APP_DB_SCHEMA
  657. - _APP_DB_USER
  658. - _APP_DB_PASS
  659. - _APP_LOGGING_CONFIG
  660. - _APP_SMS_FROM
  661. - _APP_SMS_PROVIDER
  662. - _APP_STORAGE_DEVICE
  663. - _APP_STORAGE_S3_ACCESS_KEY
  664. - _APP_STORAGE_S3_SECRET
  665. - _APP_STORAGE_S3_REGION
  666. - _APP_STORAGE_S3_BUCKET
  667. - _APP_STORAGE_S3_ENDPOINT
  668. - _APP_STORAGE_DO_SPACES_ACCESS_KEY
  669. - _APP_STORAGE_DO_SPACES_SECRET
  670. - _APP_STORAGE_DO_SPACES_REGION
  671. - _APP_STORAGE_DO_SPACES_BUCKET
  672. - _APP_STORAGE_BACKBLAZE_ACCESS_KEY
  673. - _APP_STORAGE_BACKBLAZE_SECRET
  674. - _APP_STORAGE_BACKBLAZE_REGION
  675. - _APP_STORAGE_BACKBLAZE_BUCKET
  676. - _APP_STORAGE_LINODE_ACCESS_KEY
  677. - _APP_STORAGE_LINODE_SECRET
  678. - _APP_STORAGE_LINODE_REGION
  679. - _APP_STORAGE_LINODE_BUCKET
  680. - _APP_STORAGE_WASABI_ACCESS_KEY
  681. - _APP_STORAGE_WASABI_SECRET
  682. - _APP_STORAGE_WASABI_REGION
  683. - _APP_STORAGE_WASABI_BUCKET
  684.  
  685. appwrite-worker-migrations:
  686. image: appwrite/appwrite:1.7.4
  687. entrypoint: worker-migrations
  688. <<: *x-logging
  689. container_name: appwrite-worker-migrations
  690. restart: unless-stopped
  691. networks:
  692. - appwrite
  693. depends_on:
  694. - mariadb
  695. environment:
  696. - _APP_ENV
  697. - _APP_WORKER_PER_CORE
  698. - _APP_OPENSSL_KEY_V1
  699. - _APP_DOMAIN
  700. - _APP_DOMAIN_TARGET
  701. - _APP_EMAIL_SECURITY
  702. - _APP_REDIS_HOST
  703. - _APP_REDIS_PORT
  704. - _APP_REDIS_USER
  705. - _APP_REDIS_PASS
  706. - _APP_DB_HOST
  707. - _APP_DB_PORT
  708. - _APP_DB_SCHEMA
  709. - _APP_DB_USER
  710. - _APP_DB_PASS
  711. - _APP_LOGGING_CONFIG
  712. - _APP_MIGRATIONS_FIREBASE_CLIENT_ID
  713. - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
  714.  
  715. appwrite-task-maintenance:
  716. image: appwrite/appwrite:1.7.4
  717. entrypoint: maintenance
  718. <<: *x-logging
  719. container_name: appwrite-task-maintenance
  720. restart: unless-stopped
  721. networks:
  722. - appwrite
  723. depends_on:
  724. - redis
  725. environment:
  726. - _APP_ENV
  727. - _APP_WORKER_PER_CORE
  728. - _APP_DOMAIN
  729. - _APP_DOMAIN_TARGET
  730. - _APP_DOMAIN_FUNCTIONS
  731. - _APP_OPENSSL_KEY_V1
  732. - _APP_REDIS_HOST
  733. - _APP_REDIS_PORT
  734. - _APP_REDIS_USER
  735. - _APP_REDIS_PASS
  736. - _APP_DB_HOST
  737. - _APP_DB_PORT
  738. - _APP_DB_SCHEMA
  739. - _APP_DB_USER
  740. - _APP_DB_PASS
  741. - _APP_MAINTENANCE_INTERVAL
  742. - _APP_MAINTENANCE_RETENTION_EXECUTION
  743. - _APP_MAINTENANCE_RETENTION_CACHE
  744. - _APP_MAINTENANCE_RETENTION_ABUSE
  745. - _APP_MAINTENANCE_RETENTION_AUDIT
  746. - _APP_MAINTENANCE_RETENTION_AUDIT_CONSOLE
  747. - _APP_MAINTENANCE_RETENTION_USAGE_HOURLY
  748. - _APP_MAINTENANCE_RETENTION_SCHEDULES
  749.  
  750. appwrite-task-stats-resources:
  751. image: appwrite/appwrite:1.7.4
  752. container_name: appwrite-task-stats-resources
  753. entrypoint: stats-resources
  754. <<: *x-logging
  755. networks:
  756. - appwrite
  757. volumes:
  758. - ./app:/usr/src/code/app
  759. - ./src:/usr/src/code/src
  760. depends_on:
  761. - redis
  762. - mariadb
  763. environment:
  764. - _APP_ENV
  765. - _APP_WORKER_PER_CORE
  766. - _APP_OPENSSL_KEY_V1
  767. - _APP_DB_HOST
  768. - _APP_DB_PORT
  769. - _APP_DB_SCHEMA
  770. - _APP_DB_USER
  771. - _APP_DB_PASS
  772. - _APP_REDIS_HOST
  773. - _APP_REDIS_PORT
  774. - _APP_REDIS_USER
  775. - _APP_REDIS_PASS
  776. - _APP_USAGE_STATS
  777. - _APP_LOGGING_CONFIG
  778. - _APP_DATABASE_SHARED_TABLES
  779. - _APP_STATS_RESOURCES_INTERVAL
  780.  
  781. appwrite-worker-stats-resources:
  782. image: appwrite/appwrite:1.7.4
  783. entrypoint: worker-stats-resources
  784. container_name: appwrite-worker-stats-resources
  785. <<: *x-logging
  786. restart: unless-stopped
  787. networks:
  788. - appwrite
  789. depends_on:
  790. - redis
  791. - mariadb
  792. environment:
  793. - _APP_ENV
  794. - _APP_WORKER_PER_CORE
  795. - _APP_OPENSSL_KEY_V1
  796. - _APP_DB_HOST
  797. - _APP_DB_PORT
  798. - _APP_DB_SCHEMA
  799. - _APP_DB_USER
  800. - _APP_DB_PASS
  801. - _APP_REDIS_HOST
  802. - _APP_REDIS_PORT
  803. - _APP_REDIS_USER
  804. - _APP_REDIS_PASS
  805. - _APP_USAGE_STATS
  806. - _APP_LOGGING_CONFIG
  807. - _APP_STATS_RESOURCES_INTERVAL
  808.  
  809. appwrite-worker-stats-usage:
  810. image: appwrite/appwrite:1.7.4
  811. entrypoint: worker-stats-usage
  812. container_name: appwrite-worker-stats-usage
  813. <<: *x-logging
  814. restart: unless-stopped
  815. networks:
  816. - appwrite
  817. depends_on:
  818. - redis
  819. - mariadb
  820. environment:
  821. - _APP_ENV
  822. - _APP_WORKER_PER_CORE
  823. - _APP_OPENSSL_KEY_V1
  824. - _APP_DB_HOST
  825. - _APP_DB_PORT
  826. - _APP_DB_SCHEMA
  827. - _APP_DB_USER
  828. - _APP_DB_PASS
  829. - _APP_REDIS_HOST
  830. - _APP_REDIS_PORT
  831. - _APP_REDIS_USER
  832. - _APP_REDIS_PASS
  833. - _APP_USAGE_STATS
  834. - _APP_LOGGING_CONFIG
  835. - _APP_USAGE_AGGREGATION_INTERVAL
  836.  
  837. appwrite-task-scheduler-functions:
  838. image: appwrite/appwrite:1.7.4
  839. entrypoint: schedule-functions
  840. container_name: appwrite-task-scheduler-functions
  841. <<: *x-logging
  842. restart: unless-stopped
  843. networks:
  844. - appwrite
  845. depends_on:
  846. - mariadb
  847. - redis
  848. environment:
  849. - _APP_ENV
  850. - _APP_WORKER_PER_CORE
  851. - _APP_OPENSSL_KEY_V1
  852. - _APP_REDIS_HOST
  853. - _APP_REDIS_PORT
  854. - _APP_REDIS_USER
  855. - _APP_REDIS_PASS
  856. - _APP_DB_HOST
  857. - _APP_DB_PORT
  858. - _APP_DB_SCHEMA
  859. - _APP_DB_USER
  860. - _APP_DB_PASS
  861.  
  862. appwrite-task-scheduler-executions:
  863. image: appwrite/appwrite:1.7.4
  864. entrypoint: schedule-executions
  865. container_name: appwrite-task-scheduler-executions
  866. <<: *x-logging
  867. restart: unless-stopped
  868. networks:
  869. - appwrite
  870. depends_on:
  871. - mariadb
  872. - redis
  873. environment:
  874. - _APP_ENV
  875. - _APP_WORKER_PER_CORE
  876. - _APP_OPENSSL_KEY_V1
  877. - _APP_REDIS_HOST
  878. - _APP_REDIS_PORT
  879. - _APP_REDIS_USER
  880. - _APP_REDIS_PASS
  881. - _APP_DB_HOST
  882. - _APP_DB_PORT
  883. - _APP_DB_SCHEMA
  884. - _APP_DB_USER
  885. - _APP_DB_PASS
  886.  
  887. appwrite-task-scheduler-messages:
  888. image: appwrite/appwrite:1.7.4
  889. entrypoint: schedule-messages
  890. container_name: appwrite-task-scheduler-messages
  891. <<: *x-logging
  892. restart: unless-stopped
  893. networks:
  894. - appwrite
  895. depends_on:
  896. - mariadb
  897. - redis
  898. environment:
  899. - _APP_ENV
  900. - _APP_WORKER_PER_CORE
  901. - _APP_OPENSSL_KEY_V1
  902. - _APP_REDIS_HOST
  903. - _APP_REDIS_PORT
  904. - _APP_REDIS_USER
  905. - _APP_REDIS_PASS
  906. - _APP_DB_HOST
  907. - _APP_DB_PORT
  908. - _APP_DB_SCHEMA
  909. - _APP_DB_USER
  910. - _APP_DB_PASS
  911.  
  912. appwrite-assistant:
  913. image: appwrite/assistant:0.4.0
  914. container_name: appwrite-assistant
  915. <<: *x-logging
  916. restart: unless-stopped
  917. networks:
  918. - appwrite
  919. environment:
  920. - _APP_ASSISTANT_OPENAI_API_KEY
  921.  
  922. openruntimes-executor:
  923. container_name: openruntimes-executor
  924. hostname: exc1
  925. <<: *x-logging
  926. restart: unless-stopped
  927. stop_signal: SIGINT
  928. image: openruntimes/executor:0.6.11
  929. networks:
  930. - appwrite
  931. - runtimes
  932. volumes:
  933. - /var/run/docker.sock:/var/run/docker.sock
  934. - ./appwrite-builds:/storage/builds:rw
  935. - ./appwrite-functions:/storage/functions:rw
  936. # Host mount nessessary to share files between executor and runtimes.
  937. # It's not possible to share mount file between 2 containers without host mount (copying is too slow)
  938. - /tmp:/tmp:rw
  939. environment:
  940. - OPR_EXECUTOR_INACTIVE_TRESHOLD=$_APP_FUNCTIONS_INACTIVE_THRESHOLD
  941. - OPR_EXECUTOR_MAINTENANCE_INTERVAL=$_APP_FUNCTIONS_MAINTENANCE_INTERVAL
  942. - OPR_EXECUTOR_NETWORK=$_APP_FUNCTIONS_RUNTIMES_NETWORK
  943. - OPR_EXECUTOR_DOCKER_HUB_USERNAME=$_APP_DOCKER_HUB_USERNAME
  944. - OPR_EXECUTOR_DOCKER_HUB_PASSWORD=$_APP_DOCKER_HUB_PASSWORD
  945. - OPR_EXECUTOR_ENV=$_APP_ENV
  946. - OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES
  947. - OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET
  948. - OPR_EXECUTOR_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
  949. - OPR_EXECUTOR_STORAGE_DEVICE=$_APP_STORAGE_DEVICE
  950. - OPR_EXECUTOR_STORAGE_S3_ACCESS_KEY=$_APP_STORAGE_S3_ACCESS_KEY
  951. - OPR_EXECUTOR_STORAGE_S3_SECRET=$_APP_STORAGE_S3_SECRET
  952. - OPR_EXECUTOR_STORAGE_S3_REGION=$_APP_STORAGE_S3_REGION
  953. - OPR_EXECUTOR_STORAGE_S3_BUCKET=$_APP_STORAGE_S3_BUCKET
  954. - OPR_EXECUTOR_STORAGE_S3_ENDPOINT=$_APP_STORAGE_S3_ENDPOINT
  955. - OPR_EXECUTOR_STORAGE_DO_SPACES_ACCESS_KEY=$_APP_STORAGE_DO_SPACES_ACCESS_KEY
  956. - OPR_EXECUTOR_STORAGE_DO_SPACES_SECRET=$_APP_STORAGE_DO_SPACES_SECRET
  957. - OPR_EXECUTOR_STORAGE_DO_SPACES_REGION=$_APP_STORAGE_DO_SPACES_REGION
  958. - OPR_EXECUTOR_STORAGE_DO_SPACES_BUCKET=$_APP_STORAGE_DO_SPACES_BUCKET
  959. - OPR_EXECUTOR_STORAGE_BACKBLAZE_ACCESS_KEY=$_APP_STORAGE_BACKBLAZE_ACCESS_KEY
  960. - OPR_EXECUTOR_STORAGE_BACKBLAZE_SECRET=$_APP_STORAGE_BACKBLAZE_SECRET
  961. - OPR_EXECUTOR_STORAGE_BACKBLAZE_REGION=$_APP_STORAGE_BACKBLAZE_REGION
  962. - OPR_EXECUTOR_STORAGE_BACKBLAZE_BUCKET=$_APP_STORAGE_BACKBLAZE_BUCKET
  963. - OPR_EXECUTOR_STORAGE_LINODE_ACCESS_KEY=$_APP_STORAGE_LINODE_ACCESS_KEY
  964. - OPR_EXECUTOR_STORAGE_LINODE_SECRET=$_APP_STORAGE_LINODE_SECRET
  965. - OPR_EXECUTOR_STORAGE_LINODE_REGION=$_APP_STORAGE_LINODE_REGION
  966. - OPR_EXECUTOR_STORAGE_LINODE_BUCKET=$_APP_STORAGE_LINODE_BUCKET
  967. - OPR_EXECUTOR_STORAGE_WASABI_ACCESS_KEY=$_APP_STORAGE_WASABI_ACCESS_KEY
  968. - OPR_EXECUTOR_STORAGE_WASABI_SECRET=$_APP_STORAGE_WASABI_SECRET
  969. - OPR_EXECUTOR_STORAGE_WASABI_REGION=$_APP_STORAGE_WASABI_REGION
  970. - OPR_EXECUTOR_STORAGE_WASABI_BUCKET=$_APP_STORAGE_WASABI_BUCKET
  971.  
  972. mariadb:
  973. image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p
  974. container_name: appwrite-mariadb
  975. <<: *x-logging
  976. restart: unless-stopped
  977. networks:
  978. - appwrite
  979. volumes:
  980. - ./appwrite-mariadb:/var/lib/mysql:rw
  981. environment:
  982. - MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
  983. - MYSQL_DATABASE=${_APP_DB_SCHEMA}
  984. - MYSQL_USER=${_APP_DB_USER}
  985. - MYSQL_PASSWORD=${_APP_DB_PASS}
  986. - MARIADB_AUTO_UPGRADE=1
  987. command: 'mysqld --innodb-flush-method=fsync'
  988.  
  989. redis:
  990. image: redis:7.2.4-alpine
  991. container_name: appwrite-redis
  992. <<: *x-logging
  993. restart: unless-stopped
  994. command: >
  995. redis-server
  996. --maxmemory 512mb
  997. --maxmemory-policy allkeys-lru
  998. --maxmemory-samples 5
  999. networks:
  1000. - appwrite
  1001. volumes:
  1002. - ./appwrite-redis:/data:rw
  1003.  
  1004. # clamav:
  1005. # image: appwrite/clamav:1.2.0
  1006. # container_name: appwrite-clamav
  1007. # restart: unless-stopped
  1008. # networks:
  1009. # - appwrite
  1010. # volumes:
  1011. # - appwrite-uploads:/storage/uploads
  1012.  
  1013. networks:
  1014. gateway:
  1015. name: gateway
  1016. appwrite:
  1017. name: appwrite
  1018. runtimes:
  1019. name: runtimes
  1020. shared_network:
  1021. external: true
  1022.  
  1023.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement