This commit is contained in:
Andras Bacsai 2023-11-06 15:51:27 +01:00
parent ab03908f1d
commit 493af61233
3 changed files with 40 additions and 40 deletions

View File

@ -20,19 +20,19 @@ _APP_USAGE_AGGREGATION_INTERVAL=30
_APP_USAGE_TIMESERIES_INTERVAL=30 _APP_USAGE_TIMESERIES_INTERVAL=30
_APP_USAGE_DATABASE_INTERVAL=900 _APP_USAGE_DATABASE_INTERVAL=900
_APP_WORKER_PER_CORE=6 _APP_WORKER_PER_CORE=6
_APP_REDIS_HOST=redis _APP_REDIS_HOST=appwrite-redis
_APP_REDIS_PORT=6379 _APP_REDIS_PORT=6379
_APP_REDIS_USER= _APP_REDIS_USER=
_APP_REDIS_PASS= _APP_REDIS_PASS=
_APP_DB_HOST=mariadb _APP_DB_HOST=appwrite-mariadb
_APP_DB_PORT=3306 _APP_DB_PORT=3306
_APP_DB_SCHEMA=appwrite _APP_DB_SCHEMA=appwrite
_APP_DB_USER=$SERVICE_USER_MYSQL _APP_DB_USER=$SERVICE_USER_MYSQL
_APP_DB_PASS=$SERVICE_PASSWORD_MYSQL _APP_DB_PASS=$SERVICE_PASSWORD_MYSQL
_APP_DB_ROOT_PASS=$SERVICE_PASSWORD_ROOTMYSQL _APP_DB_ROOT_PASS=$SERVICE_PASSWORD_ROOTMYSQL
_APP_INFLUXDB_HOST=influxdb _APP_INFLUXDB_HOST=appwrite-influxdb
_APP_INFLUXDB_PORT=8086 _APP_INFLUXDB_PORT=8086
_APP_STATSD_HOST=telegraf _APP_STATSD_HOST=appwrite-telegraf
_APP_STATSD_PORT=8125 _APP_STATSD_PORT=8125
_APP_SMTP_HOST= _APP_SMTP_HOST=
_APP_SMTP_PORT= _APP_SMTP_PORT=
@ -44,7 +44,7 @@ _APP_SMS_FROM=
_APP_STORAGE_LIMIT=30000000 _APP_STORAGE_LIMIT=30000000
_APP_STORAGE_PREVIEW_LIMIT=20000000 _APP_STORAGE_PREVIEW_LIMIT=20000000
_APP_STORAGE_ANTIVIRUS=disabled _APP_STORAGE_ANTIVIRUS=disabled
_APP_STORAGE_ANTIVIRUS_HOST=clamav _APP_STORAGE_ANTIVIRUS_HOST=appwrite-clamav
_APP_STORAGE_ANTIVIRUS_PORT=3310 _APP_STORAGE_ANTIVIRUS_PORT=3310
_APP_STORAGE_DEVICE=local _APP_STORAGE_DEVICE=local
_APP_STORAGE_S3_ACCESS_KEY= _APP_STORAGE_S3_ACCESS_KEY=

View File

@ -24,10 +24,10 @@ services:
- appwrite-certificates:/storage/certificates:rw - appwrite-certificates:/storage/certificates:rw
- appwrite-functions:/storage/functions:rw - appwrite-functions:/storage/functions:rw
depends_on: depends_on:
- mariadb - appwrite-mariadb
- redis - appwrite-redis
# - clamav # - appwrite-clamav
- influxdb - appwrite-influxdb
environment: environment:
- SERVICE_FQDN_APPWRITE=/ - SERVICE_FQDN_APPWRITE=/
- _APP_ENV - _APP_ENV
@ -128,8 +128,8 @@ services:
entrypoint: realtime entrypoint: realtime
<<: *x-logging <<: *x-logging
depends_on: depends_on:
- mariadb - appwrite-mariadb
- redis - appwrite-redis
environment: environment:
- SERVICE_FQDN_APPWRITE=/v1/realtime - SERVICE_FQDN_APPWRITE=/v1/realtime
- _APP_ENV - _APP_ENV
@ -155,8 +155,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-audits container_name: appwrite-worker-audits
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -179,8 +179,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-webhooks container_name: appwrite-worker-webhooks
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -199,8 +199,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-deletes container_name: appwrite-worker-deletes
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
volumes: volumes:
- appwrite-uploads:/storage/uploads:rw - appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw - appwrite-cache:/storage/cache:rw
@ -252,8 +252,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-databases container_name: appwrite-worker-databases
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -276,8 +276,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-builds container_name: appwrite-worker-builds
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
volumes: volumes:
- appwrite-functions:/storage/functions:rw - appwrite-functions:/storage/functions:rw
- appwrite-builds:/storage/builds:rw - appwrite-builds:/storage/builds:rw
@ -335,8 +335,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-certificates container_name: appwrite-worker-certificates
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
volumes: volumes:
- appwrite-config:/storage/config:rw - appwrite-config:/storage/config:rw
- appwrite-certificates:/storage/certificates:rw - appwrite-certificates:/storage/certificates:rw
@ -366,8 +366,8 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-functions container_name: appwrite-worker-functions
depends_on: depends_on:
- redis - appwrite-redis
- mariadb - appwrite-mariadb
- openruntimes-executor - openruntimes-executor
environment: environment:
- _APP_ENV - _APP_ENV
@ -400,7 +400,7 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-mails container_name: appwrite-worker-mails
depends_on: depends_on:
- redis - appwrite-redis
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -425,7 +425,7 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-messaging container_name: appwrite-worker-messaging
depends_on: depends_on:
- redis - appwrite-redis
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -444,7 +444,7 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-migrations container_name: appwrite-worker-migrations
depends_on: depends_on:
- mariadb - appwrite-mariadb
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -472,7 +472,7 @@ services:
<<: *x-logging <<: *x-logging
container_name: appwrite-maintenance container_name: appwrite-maintenance
depends_on: depends_on:
- redis - appwrite-redis
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -503,8 +503,8 @@ services:
container_name: appwrite-usage container_name: appwrite-usage
<<: *x-logging <<: *x-logging
depends_on: depends_on:
- influxdb - appwrite-influxdb
- mariadb - appwrite-mariadb
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -531,8 +531,8 @@ services:
container_name: appwrite-schedule container_name: appwrite-schedule
<<: *x-logging <<: *x-logging
depends_on: depends_on:
- mariadb - appwrite-mariadb
- redis - appwrite-redis
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_WORKER_PER_CORE - _APP_WORKER_PER_CORE
@ -601,7 +601,7 @@ services:
- OPR_EXECUTOR_STORAGE_WASABI_REGION=$_APP_STORAGE_WASABI_REGION - OPR_EXECUTOR_STORAGE_WASABI_REGION=$_APP_STORAGE_WASABI_REGION
- OPR_EXECUTOR_STORAGE_WASABI_BUCKET=$_APP_STORAGE_WASABI_BUCKET - OPR_EXECUTOR_STORAGE_WASABI_BUCKET=$_APP_STORAGE_WASABI_BUCKET
mariadb: appwrite-mariadb:
image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p
container_name: appwrite-mariadb container_name: appwrite-mariadb
<<: *x-logging <<: *x-logging
@ -614,7 +614,7 @@ services:
- MYSQL_PASSWORD=${_APP_DB_PASS} - MYSQL_PASSWORD=${_APP_DB_PASS}
command: 'mysqld --innodb-flush-method=fsync' command: 'mysqld --innodb-flush-method=fsync'
redis: appwrite-redis:
image: redis:7.0.4-alpine image: redis:7.0.4-alpine
container_name: appwrite-redis container_name: appwrite-redis
<<: *x-logging <<: *x-logging
@ -626,21 +626,21 @@ services:
volumes: volumes:
- appwrite-redis:/data:rw - appwrite-redis:/data:rw
# clamav: # appwrite-clamav:
# image: appwrite/clamav:1.2.0 # image: appwrite/clamav:1.2.0
# container_name: appwrite-clamav # container_name: appwrite-clamav
# #
# volumes: # volumes:
# - appwrite-uploads:/storage/uploads # - appwrite-uploads:/storage/uploads
influxdb: appwrite-influxdb:
image: appwrite/influxdb:1.5.0 image: appwrite/influxdb:1.5.0
container_name: appwrite-influxdb container_name: appwrite-influxdb
<<: *x-logging <<: *x-logging
volumes: volumes:
- appwrite-influxdb:/var/lib/influxdb:rw - appwrite-influxdb:/var/lib/influxdb:rw
telegraf: appwrite-telegraf:
image: appwrite/telegraf:1.4.0 image: appwrite/telegraf:1.4.0
container_name: appwrite-telegraf container_name: appwrite-telegraf
<<: *x-logging <<: *x-logging

File diff suppressed because one or more lines are too long