diff --git a/apps/koillection/config.json b/apps/koillection/config.json index c5c139cf..db6e29cc 100644 --- a/apps/koillection/config.json +++ b/apps/koillection/config.json @@ -12,5 +12,12 @@ "author": "https://github.com/benjaminjonard", "source": "https://github.com/benjaminjonard/koillection", "website": "https://koillection.github.io/", - "form_fields": [] + "form_fields": [ + { + "type": "boolean", + "label": "https enable", + "required": true, + "env_variable": "HTTPS_ENABLED" + } + ] } \ No newline at end of file diff --git a/apps/koillection/docker-compose.yml b/apps/koillection/docker-compose.yml index 1cc25c82..a7e1fa21 100644 --- a/apps/koillection/docker-compose.yml +++ b/apps/koillection/docker-compose.yml @@ -14,7 +14,7 @@ services: environment: - APP_DEBUG=0 - APP_ENV=prod - - HTTPS_ENABLED=1 + - HTTPS_ENABLED={HTTPS_ENABLED} - UPLOAD_MAX_FILESIZE=20M - PHP_MEMORY_LIMIT=512M - PHP_TZ=${TZ}