From 7741590fdb298ff23c8500a43e1ac0cadc4178be Mon Sep 17 00:00:00 2001 From: Ariq Pradipa Santoso Date: Thu, 16 Oct 2025 06:30:23 +0700 Subject: [PATCH] feat(templates): add SMTP encryption configuration to ente-photos compose templates Add optional ENTE_SMTP_ENCRYPTION environment variable with default value 'tls' to museum service in both ente-photos and ente-photos-with-s3 templates. This allows users to configure SMTP encryption settings for email functionality. --- templates/compose/ente-photos-with-s3.yaml | 9 +++++---- templates/compose/ente-photos.yaml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/compose/ente-photos-with-s3.yaml b/templates/compose/ente-photos-with-s3.yaml index 3c4f1ba9c..932745f82 100644 --- a/templates/compose/ente-photos-with-s3.yaml +++ b/templates/compose/ente-photos-with-s3.yaml @@ -7,7 +7,7 @@ services: museum: - image: 'ghcr.io/ente-io/server:613c6a96390d7a624cf30b946955705d632423cc' + image: 'ghcr.io/ente-io/server:613c6a96390d7a624cf30b946955705d632423cc' # Released at 2025-09-14T22:16:37-07:00 environment: - SERVICE_URL_MUSEUM_8080 - ENTE_DB_HOST=postgres @@ -34,6 +34,7 @@ services: - 'ENTE_SMTP_PASSWORD=${ENTE_SMTP_PASSWORD}' - 'ENTE_SMTP_EMAIL=${ENTE_SMTP_EMAIL}' - 'ENTE_SMTP_SENDER_NAME=${ENTE_SMTP_SENDER_NAME}' + - 'ENTE_SMTP_ENCRYPTION=${ENTE_SMTP_ENCRYPTION:-tls}' volumes: - 'museum-data:/data' - 'museum-config:/config' @@ -53,7 +54,7 @@ services: retries: 3 web: - image: 'ghcr.io/ente-io/web:ca03165f5e7f2a50105e6e40019c17ae6cdd934f' + image: 'ghcr.io/ente-io/web:ca03165f5e7f2a50105e6e40019c17ae6cdd934f' # Released at 2025-10-08T00:57:05-07:00 environment: - SERVICE_URL_WEB_3000 - 'ENTE_API_ORIGIN=${SERVICE_URL_MUSEUM}' @@ -85,7 +86,7 @@ services: retries: 5 minio: - image: 'quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z' + image: 'quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z' # Released at 2025-09-07T16-13-09Z command: 'server /data --console-address ":9001"' environment: - MINIO_SERVER_URL=$MINIO_SERVER_URL @@ -105,7 +106,7 @@ services: retries: 10 minio-init: - image: 'minio/mc:RELEASE.2025-08-13T08-35-41Z' + image: 'minio/mc:RELEASE.2025-08-13T08-35-41Z' # Released at 2025-08-13T08-35-41Z depends_on: minio: condition: service_started diff --git a/templates/compose/ente-photos.yaml b/templates/compose/ente-photos.yaml index 89bddf399..a765e4a7e 100644 --- a/templates/compose/ente-photos.yaml +++ b/templates/compose/ente-photos.yaml @@ -45,6 +45,7 @@ services: - ENTE_SMTP_PASSWORD=${ENTE_SMTP_PASSWORD} - ENTE_SMTP_EMAIL=${ENTE_SMTP_EMAIL} - ENTE_SMTP_SENDER_NAME=${ENTE_SMTP_SENDER_NAME} + - ENTE_SMTP_ENCRYPTION=${ENTE_SMTP_ENCRYPTION:-tls} depends_on: postgres: