diff --git a/docker/docker-compose/docker-compose.yml b/docker/docker-compose/docker-compose.yml
index 55a0c6c8..24550b9a 100644
--- a/docker/docker-compose/docker-compose.yml
+++ b/docker/docker-compose/docker-compose.yml
@@ -13,6 +13,11 @@ services:
   # - DOCSPELL_SERVER_AUTH_SERVER__SECRET
   # - DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE
   #   (use the same value at the consumedir container!)
+  #
+  # After creating an account, you may want to set signup mode to
+  # "closed" or to "invite". When using invite, you must also set
+  # DOCSPELL_SERVER_BACKEND_SIGNUP_NEW__INVITE__PASSWORD to some
+  # secret.
   restserver:
     image: docspell/restserver:latest
     container_name: docspell-restserver
@@ -33,6 +38,8 @@ services:
       - DOCSPELL_SERVER_INTEGRATION__ENDPOINT_ENABLED=true
       - DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_ENABLED=true
       - DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE=integration-password123
+      - DOCSPELL_SERVER_BACKEND_SIGNUP_MODE=open
+      - DOCSPELL_SERVER_BACKEND_SIGNUP_NEW__INVITE__PASSWORD=
       - DOCSPELL_SERVER_BACKEND_ADDONS_ENABLED=false
     depends_on:
       - solr
@@ -47,6 +54,9 @@ services:
     restart: unless-stopped
     environment:
       - TZ=Europe/Berlin
+      - DOCSPELL_JOEX_APP__ID=joex1
+      - DOCSPELL_JOEX_PERIODIC__SCHEDULER_NAME=joex1
+      - DOCSPELL_JOEX_SCHEDULER_NAME=joex1
       - DOCSPELL_JOEX_BASE__URL=http://docspell-joex:7878
       - DOCSPELL_JOEX_BIND_ADDRESS=0.0.0.0
       - DOCSPELL_JOEX_FULL__TEXT__SEARCH_ENABLED=true