1
0
Fork 0
mirror of synced 2024-05-09 15:22:33 +12:00
appwrite/docker-compose.yml

627 lines
16 KiB
YAML
Raw Normal View History

2020-12-17 10:54:58 +13:00
# WARNING!
# This is a development version of THE Appwrite docker-compose.yml file.
# Avoid using this file in your production environment.
# We're exposing here sensitive ports and mounting code volumes for rapid development and debugging of the server stack.
2020-12-17 10:54:58 +13:00
2019-10-02 10:12:48 +13:00
version: '3'
2019-05-09 18:54:39 +12:00
services:
2020-02-25 20:55:55 +13:00
traefik:
2021-08-18 23:23:15 +12:00
image: traefik:2.5
2020-07-16 08:29:34 +12:00
container_name: appwrite-traefik
2020-02-25 20:55:55 +13:00
command:
2020-02-25 22:13:36 +13:00
- --log.level=DEBUG
- --api.insecure=true
2020-02-25 23:04:12 +13:00
- --providers.file.directory=/storage/config
2020-02-25 22:13:36 +13:00
- --providers.file.watch=true
- --providers.docker=true
2020-12-16 23:58:40 +13:00
- --providers.docker.exposedByDefault=false
- --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
2020-10-16 20:31:09 +13:00
- --entrypoints.appwrite_web.address=:80
- --entrypoints.appwrite_websecure.address=:443
2020-02-25 22:13:36 +13:00
- --accesslog=true
2020-02-25 20:55:55 +13:00
ports:
2020-02-25 22:13:36 +13:00
- 80:80
- 443:443
- 9500:8080
2020-02-25 20:55:55 +13:00
volumes:
2020-02-25 22:13:36 +13:00
- /var/run/docker.sock:/var/run/docker.sock
2020-02-25 23:04:12 +13:00
- appwrite-config:/storage/config:ro
- appwrite-certificates:/storage/certificates:ro
2020-02-25 22:13:36 +13:00
depends_on:
2020-03-20 08:00:53 +13:00
- appwrite
2020-02-25 20:55:55 +13:00
networks:
2020-02-25 22:13:36 +13:00
- gateway
- appwrite
2020-02-25 20:55:55 +13:00
2019-10-02 10:12:48 +13:00
appwrite:
2019-11-30 06:34:55 +13:00
container_name: appwrite
build:
context: .
args:
2021-07-12 00:25:39 +12:00
- DEBUG=false
2019-11-30 06:34:55 +13:00
- TESTING=true
2019-12-07 07:55:44 +13:00
- VERSION=dev
2020-07-03 00:24:39 +12:00
ports:
- 9501:80
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 20:55:55 +13:00
- appwrite
labels:
2020-10-16 20:31:09 +13:00
- "traefik.enable=true"
- "traefik.constraint-label-stack=appwrite"
2020-10-16 20:31:09 +13:00
- "traefik.docker.network=appwrite"
- "traefik.http.services.appwrite_api.loadbalancer.server.port=80"
#http
- traefik.http.routers.appwrite_api_http.entrypoints=appwrite_web
- traefik.http.routers.appwrite_api_http.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_http.service=appwrite_api
# https
- traefik.http.routers.appwrite_api_https.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_api_https.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_https.service=appwrite_api
- traefik.http.routers.appwrite_api_https.tls=true
2019-10-02 10:12:48 +13:00
volumes:
2020-05-10 04:40:45 +12:00
- /var/run/docker.sock:/var/run/docker.sock
2020-02-25 22:13:36 +13:00
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
2020-02-25 23:04:12 +13:00
- appwrite-config:/storage/config:rw
2020-02-25 22:13:36 +13:00
- appwrite-certificates:/storage/certificates:rw
2020-07-15 09:20:46 +12:00
- appwrite-functions:/storage/functions:rw
2020-07-02 02:38:41 +12:00
- ./phpunit.xml:/usr/src/code/phpunit.xml
- ./psalm.xml:/usr/src/code/psalm.xml
2020-07-02 02:38:41 +12:00
- ./tests:/usr/src/code/tests
- ./app:/usr/src/code/app
2020-07-05 10:31:48 +12:00
# - ./vendor:/usr/src/code/vendor
2020-07-02 02:38:41 +12:00
- ./docs:/usr/src/code/docs
- ./src:/usr/src/code/src
2021-10-28 21:47:41 +13:00
# - ./debug:/tmp
- ./dev:/usr/local/dev
2019-10-02 10:12:48 +13:00
depends_on:
2020-02-25 22:13:36 +13:00
- mariadb
- redis
# - clamav
entrypoint:
- php
- -e
- app/http.php
- -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
2019-10-02 10:12:48 +13:00
environment:
2020-07-06 01:51:20 +12:00
- _APP_ENV
- _APP_LOCALE
2021-05-13 02:53:25 +12:00
- _APP_CONSOLE_WHITELIST_ROOT
2021-02-24 01:52:14 +13:00
- _APP_CONSOLE_WHITELIST_EMAILS
- _APP_CONSOLE_WHITELIST_IPS
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2021-01-16 06:48:36 +13:00
- _APP_SYSTEM_RESPONSE_FORMAT
2020-07-06 01:51:20 +12:00
- _APP_OPTIONS_ABUSE
- _APP_OPTIONS_FORCE_HTTPS
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
- _APP_DOMAIN_TARGET
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 01:51:20 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-01-03 08:45:59 +13:00
- _APP_STORAGE_ANTIVIRUS
- _APP_STORAGE_ANTIVIRUS_HOST
- _APP_STORAGE_ANTIVIRUS_PORT
2020-11-19 22:00:24 +13:00
- _APP_SMTP_HOST
- _APP_SMTP_PORT
- _APP_SMTP_SECURE
- _APP_SMTP_USERNAME
- _APP_SMTP_PASSWORD
- _APP_USAGE_STATS
2020-07-20 03:17:57 +12:00
- _APP_STORAGE_LIMIT
2020-07-20 02:42:46 +12:00
- _APP_FUNCTIONS_TIMEOUT
- _APP_FUNCTIONS_CONTAINERS
2020-12-15 07:04:57 +13:00
- _APP_FUNCTIONS_CPUS
- _APP_FUNCTIONS_MEMORY
- _APP_FUNCTIONS_MEMORY_SWAP
2021-04-30 03:08:59 +12:00
- _APP_FUNCTIONS_RUNTIMES
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 01:51:20 +12:00
2020-10-16 20:50:46 +13:00
appwrite-realtime:
entrypoint: realtime
container_name: appwrite-realtime
2020-10-16 20:31:09 +13:00
build:
context: .
restart: unless-stopped
ports:
2021-01-10 10:58:21 +13:00
- 9505:80
2020-10-16 20:31:09 +13:00
labels:
- "traefik.enable=true"
2021-01-10 10:58:21 +13:00
- "traefik.constraint-label-stack=appwrite"
2020-10-16 20:31:09 +13:00
- "traefik.docker.network=appwrite"
2020-10-16 20:50:46 +13:00
- "traefik.http.services.appwrite_realtime.loadbalancer.server.port=80"
2020-10-16 20:31:09 +13:00
#ws
2020-10-16 20:50:46 +13:00
- traefik.http.routers.appwrite_realtime_ws.entrypoints=appwrite_web
- traefik.http.routers.appwrite_realtime_ws.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_ws.service=appwrite_realtime
2020-10-16 20:31:09 +13:00
# wss
2020-10-16 20:50:46 +13:00
- traefik.http.routers.appwrite_realtime_wss.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_realtime_wss.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_wss.service=appwrite_realtime
- traefik.http.routers.appwrite_realtime_wss.tls=true
- traefik.http.routers.appwrite_realtime_wss.tls.certresolver=dns
2020-10-16 20:31:09 +13:00
networks:
- appwrite
2021-02-22 10:22:32 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2021-12-22 03:41:58 +13:00
# - ./vendor:/usr/src/code/vendor
2020-10-16 20:31:09 +13:00
depends_on:
2022-01-02 18:52:07 +13:00
- mariadb
- redis
2020-10-16 20:31:09 +13:00
environment:
- _APP_ENV
2020-10-21 02:22:46 +13:00
- _APP_OPTIONS_ABUSE
- _APP_OPENSSL_KEY_V1
2020-10-16 20:31:09 +13:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2020-10-21 02:22:46 +13:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2021-04-01 23:59:11 +13:00
- _APP_USAGE_STATS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-10-16 20:31:09 +13:00
2020-07-06 08:38:13 +12:00
appwrite-worker-audits:
entrypoint: worker-audits
container_name: appwrite-worker-audits
2020-07-06 01:51:20 +12:00
build:
context: .
networks:
- appwrite
2020-12-09 11:26:05 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 01:51:20 +12:00
depends_on:
- redis
2020-07-06 07:19:14 +12:00
- mariadb
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-07-06 07:19:14 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 07:19:14 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 07:19:14 +12:00
2020-07-06 08:38:13 +12:00
appwrite-worker-webhooks:
entrypoint: worker-webhooks
container_name: appwrite-worker-webhooks
2020-07-06 07:19:14 +12:00
build:
context: .
networks:
- appwrite
2020-12-09 11:26:05 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 07:19:14 +12:00
depends_on:
- redis
- mariadb
2020-10-30 11:26:30 +13:00
- request-catcher
2020-07-06 01:51:20 +12:00
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2020-07-06 01:51:20 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2019-05-09 18:54:39 +12:00
2020-07-06 19:38:56 +12:00
appwrite-worker-deletes:
entrypoint: worker-deletes
container_name: appwrite-worker-deletes
build:
context: .
networks:
- appwrite
volumes:
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
- appwrite-functions:/storage/functions:rw
2021-02-06 01:24:12 +13:00
- appwrite-certificates:/storage/certificates:rw
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 19:38:56 +12:00
depends_on:
- redis
- mariadb
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-07-06 19:38:56 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 19:38:56 +12:00
2021-06-18 09:58:35 +12:00
appwrite-worker-database:
entrypoint: worker-database
container_name: appwrite-worker-database
2020-07-06 19:38:56 +12:00
build:
context: .
networks:
- appwrite
volumes:
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2021-08-23 22:43:11 +12:00
# - ./vendor/utopia-php/database:/usr/src/code/vendor/utopia-php/database
2020-12-09 11:26:05 +13:00
depends_on:
- redis
- mariadb
2020-07-06 19:38:56 +12:00
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-07-06 19:38:56 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 19:38:56 +12:00
appwrite-worker-certificates:
entrypoint: worker-certificates
container_name: appwrite-worker-certificates
build:
context: .
networks:
- appwrite
volumes:
- appwrite-config:/storage/config:rw
- appwrite-certificates:/storage/certificates:rw
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
- redis
- mariadb
2020-07-06 19:38:56 +12:00
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2021-12-29 00:28:29 +13:00
- _APP_DOMAIN_TARGET
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
2020-07-06 19:38:56 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 19:38:56 +12:00
appwrite-worker-functions:
entrypoint: worker-functions
container_name: appwrite-worker-functions
build:
context: .
networks:
- appwrite
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- appwrite-functions:/storage/functions:rw
2020-12-11 05:58:27 +13:00
- /tmp:/tmp:rw
2020-12-09 11:26:05 +13:00
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
- _APP_OPENSSL_KEY_V1
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-17 00:04:06 +12:00
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
2020-07-20 02:42:46 +12:00
- _APP_FUNCTIONS_TIMEOUT
- _APP_FUNCTIONS_CONTAINERS
2021-04-30 03:08:59 +12:00
- _APP_FUNCTIONS_RUNTIMES
2020-12-15 07:04:57 +13:00
- _APP_FUNCTIONS_CPUS
- _APP_FUNCTIONS_MEMORY
- _APP_FUNCTIONS_MEMORY_SWAP
- _APP_USAGE_STATS
- _APP_STATSD_HOST
- _APP_STATSD_PORT
2021-02-02 20:26:11 +13:00
- DOCKERHUB_PULL_USERNAME
- DOCKERHUB_PULL_PASSWORD
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 08:38:13 +12:00
appwrite-worker-mails:
entrypoint: worker-mails
container_name: appwrite-worker-mails
build:
context: .
networks:
- appwrite
2020-12-09 11:26:05 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 08:38:13 +12:00
depends_on:
- redis
2020-09-28 03:31:29 +13:00
- maildev
# - smtp
2020-07-06 08:38:13 +12:00
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-09-28 03:29:06 +13:00
- _APP_SYSTEM_EMAIL_NAME
- _APP_SYSTEM_EMAIL_ADDRESS
2020-07-06 08:38:13 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 08:38:13 +12:00
- _APP_SMTP_HOST
- _APP_SMTP_PORT
2020-10-27 03:34:19 +13:00
- _APP_SMTP_SECURE
- _APP_SMTP_USERNAME
- _APP_SMTP_PASSWORD
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
2020-07-06 08:38:13 +12:00
2020-12-15 05:39:44 +13:00
appwrite-maintenance:
entrypoint: maintenance
container_name: appwrite-maintenance
build:
context: .
networks:
- appwrite
2021-01-17 19:17:54 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-12-15 05:39:44 +13:00
depends_on:
- redis
environment:
- _APP_ENV
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_MAINTENANCE_INTERVAL
2021-01-21 07:23:48 +13:00
- _APP_MAINTENANCE_RETENTION_EXECUTION
- _APP_MAINTENANCE_RETENTION_ABUSE
- _APP_MAINTENANCE_RETENTION_AUDIT
2020-12-15 05:39:44 +13:00
2021-08-11 17:44:08 +12:00
appwrite-usage:
2022-01-17 05:37:32 +13:00
entrypoint: usage
2021-08-11 17:44:08 +12:00
container_name: appwrite-usage
build:
context: .
args:
- DEBUG=false
2021-08-11 17:44:08 +12:00
networks:
- appwrite
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
- ./dev:/usr/local/dev
2021-08-11 17:44:08 +12:00
depends_on:
- influxdb
- mariadb
environment:
- _APP_ENV
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_INFLUXDB_HOST
- _APP_INFLUXDB_PORT
- _APP_USAGE_SYNC_INTERVAL
2020-07-06 19:38:56 +12:00
appwrite-schedule:
entrypoint: schedule
container_name: appwrite-schedule
build:
context: .
networks:
- appwrite
2020-12-09 11:26:05 +13:00
volumes:
- ./app:/usr/src/code/app
- ./src:/usr/src/code/src
2020-07-06 19:38:56 +12:00
depends_on:
- redis
environment:
2020-07-08 05:59:20 +12:00
- _APP_ENV
2020-07-06 19:38:56 +12:00
- _APP_REDIS_HOST
- _APP_REDIS_PORT
2021-02-01 03:56:06 +13:00
- _APP_REDIS_USER
- _APP_REDIS_PASS
2020-07-06 19:38:56 +12:00
2019-10-02 10:12:48 +13:00
mariadb:
2021-12-23 14:51:49 +13:00
image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p
2020-07-16 08:29:34 +12:00
container_name: appwrite-mariadb
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 22:13:36 +13:00
- appwrite
2019-12-05 18:30:23 +13:00
volumes:
2020-02-29 19:24:46 +13:00
- appwrite-mariadb:/var/lib/mysql:rw
ports:
2021-01-16 23:33:01 +13:00
- "3306:3306"
2019-10-02 10:12:48 +13:00
environment:
2020-10-27 03:34:19 +13:00
- MYSQL_ROOT_PASSWORD=password
2020-10-26 03:15:27 +13:00
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
2021-05-05 10:38:09 +12:00
- MYSQL_USER=user
2020-10-26 03:15:27 +13:00
- MYSQL_PASSWORD=${_APP_DB_PASS}
2021-08-25 03:45:09 +12:00
command: 'mysqld --innodb-flush-method=fsync' # add ' --query_cache_size=0' for DB tests
2020-09-28 03:46:04 +13:00
# command: mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bu && mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
2019-05-09 18:54:39 +12:00
2020-09-28 03:31:29 +13:00
# smtp:
# image: appwrite/smtp:1.2.0
# container_name: appwrite-smtp
# restart: unless-stopped
# networks:
# - appwrite
# environment:
# - LOCAL_DOMAINS=@
# - RELAY_FROM_HOSTS=192.168.0.0/16 ; *.yourdomain.com
# - SMARTHOST_HOST=smtp
# - SMARTHOST_PORT=587
2020-02-25 04:03:48 +13:00
redis:
2021-10-22 03:25:12 +13:00
image: redis:6.2-alpine
2020-07-16 08:29:34 +12:00
container_name: appwrite-redis
2021-08-21 05:02:44 +12:00
ports:
- "6379:6379"
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 22:13:36 +13:00
- appwrite
2020-02-29 19:24:46 +13:00
volumes:
- appwrite-redis:/data:rw
2019-08-09 09:49:46 +12:00
# clamav:
# image: appwrite/clamav:1.2.0
# container_name: appwrite-clamav
# networks:
# - appwrite
# volumes:
# - appwrite-uploads:/storage/uploads
2019-10-02 10:12:48 +13:00
influxdb:
image: appwrite/influxdb:1.4.0
2020-07-16 08:29:34 +12:00
container_name: appwrite-influxdb
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 22:13:36 +13:00
- appwrite
2019-10-02 10:12:48 +13:00
volumes:
2020-02-25 22:13:36 +13:00
- appwrite-influxdb:/var/lib/influxdb:rw
2019-10-02 10:12:48 +13:00
telegraf:
image: appwrite/telegraf:1.3.0
2020-07-16 08:29:34 +12:00
container_name: appwrite-telegraf
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 22:13:36 +13:00
- appwrite
environment:
- _APP_INFLUXDB_HOST
- _APP_INFLUXDB_PORT
2019-12-05 18:30:23 +13:00
2021-01-16 23:33:01 +13:00
# Dev Tools Start ------------------------------------------------------------------------------------------
#
2021-01-17 04:10:20 +13:00
# The Appwrite Team uses the following tools to help debug, monitor and diagnose the Appwrite stack
2021-01-16 23:33:01 +13:00
#
# Here is a description of the different tools and why are we using them:
#
# MailCatcher - An SMTP server. Catches all system emails and displays them in a nice UI.
# RequestCatcher - An HTTP server. Catches all system https calls and displays them using a simple HTTP API. Used to debug & tests webhooks and HTTP tasks
# RedisCommander - A nice UI for exploring Redis data
# Resque - A nice UI for exploring Reddis pub/sub, view the different queues workloads, pending and failed tasks
# Chronograf - A nice UI for exploring InfluxDB data
# Webgrind - A nice UI for exploring and debugging code-level stuff
2020-11-06 04:52:27 +13:00
maildev: # used mainly for dev tests
2021-01-03 11:48:50 +13:00
image: appwrite/mailcatcher:1.0.0
container_name: appwrite-mailcatcher
2020-11-06 04:52:27 +13:00
ports:
2021-01-04 06:16:44 +13:00
- '9503:1080'
2020-11-06 04:52:27 +13:00
networks:
- appwrite
request-catcher: # used mainly for dev tests
2021-01-03 11:48:50 +13:00
image: appwrite/requestcatcher:1.0.0
container_name: appwrite-requestcatcher
2020-11-06 04:52:27 +13:00
ports:
2020-12-28 04:14:42 +13:00
- '9504:5000'
2020-11-06 04:52:27 +13:00
networks:
- appwrite
2021-01-16 23:33:01 +13:00
adminer:
image: adminer
2021-04-27 00:06:37 +12:00
container_name: appwrite-adminer
2021-01-16 23:33:01 +13:00
restart: always
ports:
2021-02-22 06:15:03 +13:00
- 9506:8080
2021-01-16 23:33:01 +13:00
networks:
- appwrite
2021-06-25 02:54:03 +12:00
# redis-commander:
# image: rediscommander/redis-commander:latest
# restart: unless-stopped
# networks:
# - appwrite
# environment:
# - REDIS_HOSTS=redis
# ports:
# - "8081:8081"
2020-03-02 00:14:55 +13:00
2020-01-12 19:35:37 +13:00
# resque:
2020-09-24 05:10:05 +12:00
# image: appwrite/resque-web:1.1.0
2020-01-12 19:35:37 +13:00
# restart: unless-stopped
# networks:
2020-02-25 22:13:36 +13:00
# - appwrite
2020-01-12 19:35:37 +13:00
# ports:
2020-02-25 22:13:36 +13:00
# - "5678:5678"
2020-01-12 19:35:37 +13:00
# environment:
2020-02-25 22:13:36 +13:00
# - RESQUE_WEB_HOST=redis
# - RESQUE_WEB_PORT=6379
# - RESQUE_WEB_HTTP_BASIC_AUTH_USER=user
# - RESQUE_WEB_HTTP_BASIC_AUTH_PASSWORD=password
2020-01-12 02:58:02 +13:00
2020-07-06 01:51:20 +12:00
# chronograf:
# image: chronograf:1.5
2020-07-16 08:29:34 +12:00
# container_name: appwrite-chronograf
2020-07-06 01:51:20 +12:00
# restart: unless-stopped
# networks:
# - appwrite
# volumes:
# - appwrite-chronograf:/var/lib/chronograf
# ports:
# - "8888:8888"
# environment:
# - INFLUXDB_URL=http://influxdb:8086
# - KAPACITOR_URL=http://kapacitor:9092
# - AUTH_DURATION=48h
# - TOKEN_SECRET=duperduper5674829!jwt
# - GH_CLIENT_ID=d86f7145a41eacfc52cc
# - GH_CLIENT_SECRET=9e0081062367a2134e7f2ea95ba1a32d08b6c8ab
# - GH_ORGS=appwrite
# webgrind:
# image: 'jokkedk/webgrind:latest'
# volumes:
# - './debug:/tmp'
# ports:
# - '3001:80'
2021-01-16 23:33:01 +13:00
# Dev Tools End ------------------------------------------------------------------------------------------
2020-07-05 07:18:37 +12:00
2019-12-05 18:30:23 +13:00
networks:
2020-02-25 20:55:55 +13:00
gateway:
2019-12-05 18:30:23 +13:00
appwrite:
volumes:
2020-02-29 19:24:46 +13:00
appwrite-mariadb:
appwrite-redis:
appwrite-cache:
appwrite-uploads:
2020-02-23 21:56:27 +13:00
appwrite-certificates:
2020-07-15 09:20:46 +12:00
appwrite-functions:
2019-11-29 20:33:42 +13:00
appwrite-influxdb:
2020-02-25 23:04:12 +13:00
appwrite-config:
2021-01-29 02:47:33 +13:00
# appwrite-chronograf: