2019-08-26 16:56:01 +12:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
appwrite:
|
2019-08-26 17:12:31 +12:00
|
|
|
build: ../../
|
2019-08-26 16:56:01 +12:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2019-09-28 06:41:54 +12:00
|
|
|
- ./../../app:/usr/share/nginx/html/app
|
|
|
|
- ./../../public:/usr/share/nginx/html/public
|
|
|
|
- ./../../src:/usr/share/nginx/html/src
|
|
|
|
- ./../../vendor:/usr/share/nginx/html/vendor
|
2019-09-14 15:41:16 +12:00
|
|
|
- ./../../docker/nginx.conf:/etc/nginx/nginx.conf:rw
|
2019-09-28 03:12:26 +12:00
|
|
|
- ./../../storage/uploads:/storage/uploads:rw
|
|
|
|
- ./../../storage/cache:/storage/cache:rw
|
2019-08-26 16:56:01 +12:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
2019-09-28 11:01:59 +12:00
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
- redis
|
|
|
|
- smtp
|
|
|
|
- clamav
|
|
|
|
- influxdb
|
|
|
|
- telegraf
|
2019-08-26 16:56:01 +12:00
|
|
|
environment:
|
|
|
|
- _APP_ENV=development
|
2019-09-21 00:34:34 +12:00
|
|
|
- _APP_OPTIONS_ABUSE=disabled
|
2019-08-26 16:56:01 +12:00
|
|
|
- _APP_OPENSSL_KEY_V1=just-a-random-key
|
|
|
|
- _APP_REDIS_HOST=redis
|
|
|
|
- _APP_REDIS_PORT=6379
|
|
|
|
- _APP_DB_HOST=mariadb
|
|
|
|
- _APP_DB_PORT=3306
|
|
|
|
- _APP_DB_SCHEMA=appwrite
|
2019-09-28 02:03:42 +12:00
|
|
|
- _APP_DB_USER=user
|
2019-08-26 16:56:01 +12:00
|
|
|
- _APP_DB_PASS=password
|
|
|
|
- _APP_INFLUXDB_HOST=influxdb
|
|
|
|
- _APP_INFLUXDB_PORT=8086
|
|
|
|
- _APP_STATSD_HOST=telegraf
|
|
|
|
- _APP_STATSD_PORT=8125
|
|
|
|
|
|
|
|
mariadb:
|
2019-09-14 19:45:36 +12:00
|
|
|
image: appwrite/mariadb:1.0.0
|
2019-08-26 16:56:01 +12:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
2019-09-28 01:34:09 +12:00
|
|
|
- MYSQL_ROOT_PASSWORD=rootsecretpassword
|
2019-09-28 03:12:26 +12:00
|
|
|
- MYSQL_DATABASE=appwrite
|
2019-09-28 01:34:09 +12:00
|
|
|
- MYSQL_USER=user
|
|
|
|
- MYSQL_PASSWORD=password
|
2019-08-26 16:56:01 +12:00
|
|
|
ports:
|
|
|
|
- 3306:3306/tcp
|
2019-09-14 19:45:36 +12:00
|
|
|
#command: mysqld --innodb-flush-method=fsync
|
2019-08-26 16:56:01 +12:00
|
|
|
|
|
|
|
smtp:
|
|
|
|
image: appwrite/smtp:1.0.0
|
|
|
|
environment:
|
|
|
|
- MAILNAME=appwrite
|
|
|
|
- RELAY_NETWORKS=:192.168.0.0/24:10.0.0.0/16
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
|
|
|
|
clamav:
|
|
|
|
image: appwrite/clamav:1.0.4
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2019-08-26 17:12:31 +12:00
|
|
|
- ./storage:/storage:rw
|
2019-08-26 16:56:01 +12:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:5.0
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
influxdb:
|
|
|
|
image: influxdb:1.6
|
|
|
|
volumes:
|
2019-08-26 17:12:31 +12:00
|
|
|
- ./storage/influxdb:/var/lib/influxdb
|
2019-08-26 16:56:01 +12:00
|
|
|
ports:
|
|
|
|
- "8086:8086"
|
|
|
|
|
|
|
|
telegraf:
|
|
|
|
image: appwrite/telegraf:1.0.0
|
|
|
|
ports:
|
|
|
|
- "8125:8125/udp"
|