diff --git a/installation/pleroma.service b/installation/pleroma.service
index 84747d952..6955e5cc6 100644
--- a/installation/pleroma.service
+++ b/installation/pleroma.service
@@ -6,6 +6,7 @@ After=network.target postgresql.service
 User=pleroma
 WorkingDirectory=/home/pleroma/pleroma
 Environment="HOME=/home/pleroma"
+Environment="MIX_ENV=prod"
 ExecStart=/usr/local/bin/mix phx.server
 ExecReload=/bin/kill $MAINPID
 KillMode=process