diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 2033ee8c7c2f11b60fe85eb61d7e22ff7d6715f9..00059cd153d777e11f483b998178bd06c368634e 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -74,7 +74,7 @@ services:
       - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
       # set the outside hostname here
       - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236
-      - LEMMY_HTTPS=false
+      - LEMMY_UI_HTTPS=false
       - LEMMY_UI_DEBUG=true
     depends_on:
       - lemmy