Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions images/common/openwisp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@
INSTALLED_APPS.remove("openwisp_monitoring.device")
if "openwisp_monitoring.check" in INSTALLED_APPS:
INSTALLED_APPS.remove("openwisp_monitoring.check")
if EMAIL_BACKEND == "djcelery_email.backends.CeleryEmailBackend":
INSTALLED_APPS.append("djcelery_email")
if EMAIL_BACKEND == "post_office.EmailBackend":
INSTALLED_APPS.append("post_office")
if env_bool(os.environ.get("METRIC_COLLECTION", "True")):
INSTALLED_APPS.append("openwisp_utils.metric_collection")

Expand Down
2 changes: 1 addition & 1 deletion images/openwisp_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ENV DASHBOARD_APP_SERVICE=dashboard \
INFLUXDB_HOST=influxdb \
INFLUXDB_PORT=8086 \
INFLUXDB_DEFAULT_RETENTION_POLICY=26280h0m0s \
EMAIL_BACKEND=djcelery_email.backends.CeleryEmailBackend \
EMAIL_BACKEND=post_office.EmailBackend \
EMAIL_HOST=postfix \
EMAIL_HOST_PORT=25 \
EMAIL_HOST_USER="" \
Expand Down
2 changes: 1 addition & 1 deletion images/openwisp_base/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ supervisor~=4.2 # allows 4.x and > 4.2
django-cors-headers~=4.7
django-pipeline~=4.0
uwsgi~=2.0.30
django-celery-email~=3.0.0
django-post-office~=3.8.0
tldextract~=5.3.0
# these add support for object storage
# (eg: Amazon S3, GCS)
Expand Down