1
0
Fork 0
mirror of synced 2024-06-27 18:50:47 +12:00

Updated SMTP server

This commit is contained in:
Eldad Fux 2020-09-27 17:31:29 +03:00
parent 6a7f0b9c8f
commit 4709138041
2 changed files with 20 additions and 20 deletions

2
.env
View file

@ -19,7 +19,7 @@ _APP_INFLUXDB_HOST=influxdb
_APP_INFLUXDB_PORT=8086 _APP_INFLUXDB_PORT=8086
_APP_STATSD_HOST=telegraf _APP_STATSD_HOST=telegraf
_APP_STATSD_PORT=8125 _APP_STATSD_PORT=8125
_APP_SMTP_HOST=smtp _APP_SMTP_HOST=maildev
_APP_SMTP_PORT=25 _APP_SMTP_PORT=25
_APP_STORAGE_LIMIT=100000000 _APP_STORAGE_LIMIT=100000000
_APP_FUNCTIONS_TIMEOUT=900 _APP_FUNCTIONS_TIMEOUT=900

View file

@ -256,8 +256,8 @@ services:
- appwrite - appwrite
depends_on: depends_on:
- redis - redis
# - maildev - maildev
- smtp # - smtp
environment: environment:
- _APP_ENV - _APP_ENV
- _APP_SYSTEM_EMAIL_NAME - _APP_SYSTEM_EMAIL_NAME
@ -300,26 +300,26 @@ services:
command: 'mysqld --innodb-flush-method=fsync' command: 'mysqld --innodb-flush-method=fsync'
# command: mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu # command: mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
# maildev: maildev:
# image: djfarrelly/maildev image: djfarrelly/maildev
# container_name: appwrite-maildev container_name: appwrite-maildev
# restart: unless-stopped
# ports:
# - '1080:80'
# networks:
# - appwrite
smtp:
image: appwrite/smtp:1.2.0
container_name: appwrite-smtp
restart: unless-stopped restart: unless-stopped
ports:
- '1080:80'
networks: networks:
- appwrite - appwrite
environment:
- LOCAL_DOMAINS=@ # smtp:
- RELAY_FROM_HOSTS=192.168.0.0/16 ; *.yourdomain.com # image: appwrite/smtp:1.2.0
- SMARTHOST_HOST=smtp # container_name: appwrite-smtp
- SMARTHOST_PORT=587 # restart: unless-stopped
# networks:
# - appwrite
# environment:
# - LOCAL_DOMAINS=@
# - RELAY_FROM_HOSTS=192.168.0.0/16 ; *.yourdomain.com
# - SMARTHOST_HOST=smtp
# - SMARTHOST_PORT=587
redis: redis:
image: redis:5.0 image: redis:5.0