diff --git a/apps/ghost/config.json b/apps/ghost/config.json index cac07622..039a66ea 100644 --- a/apps/ghost/config.json +++ b/apps/ghost/config.json @@ -5,7 +5,7 @@ "available": true, "exposable": true, "id": "ghost", - "tipi_version": 81, + "tipi_version": 82, "version": "5.80.3", "categories": [ "social", @@ -21,6 +21,41 @@ "label": "Ghost Database password", "min": 20, "env_variable": "GHOST_DATABASE_PASSWORD" + }, + { + "type": "text", + "label": "Mail Service name", + "hint": "The name of your mail service (ie. Google)", + "required": false, + "env_variable": "GHOST_MAIL_SERVICE" + }, + { + "type": "text", + "label": "SMTP Host", + "hint": "Your SMTP Server", + "required": false, + "env_variable": "GHOST_MAIL_HOST" + }, + { + "type": "text", + "label": "SMTP Port", + "hint": "Your SMTP Port", + "required": false, + "env_variable": "GHOST_MAIL_PORT" + }, + { + "type": "text", + "label": "SMTP Username", + "hint": "Your SMTP Server User/Username", + "required": false, + "env_variable": "GHOST_MAIL_USER" + }, + { + "type": "text", + "label": "SMTP Password", + "hint": "Your SMTP Server Password", + "required": false, + "env_variable": "GHOST_MAIL_PASSWORD" } ], "supported_architectures": [ diff --git a/apps/ghost/docker-compose.yml b/apps/ghost/docker-compose.yml index eb90938e..b4cb419c 100644 --- a/apps/ghost/docker-compose.yml +++ b/apps/ghost/docker-compose.yml @@ -17,6 +17,12 @@ services: database__connection__password: ${GHOST_DATABASE_PASSWORD} database__connection__database: ghosttipi url: ${APP_PROTOCOL:-http}://${APP_DOMAIN} + mail__transport: SMTP + mail__options__service: ${GHOST_MAIL_SERVICE} + mail__options__host: ${GHOST_MAIL_HOST} + mail__options__port: ${GHOST_MAIL_PORT} + mail__options__auth__user: ${GHOST_MAIL_USER} + mail__options__auth__pass: ${GHOST_MAIL_PASSWORD} volumes: - ${APP_DATA_DIR}/content:/var/lib/ghost/content networks: