diff --git a/config/application.tmpl b/config/application.tmpl
index bc083e21d359d5d4df8702711407ff4d7087e17b..069f0aa926c8711ac5db2316e9b0fa16bfe39cbe 100644
--- a/config/application.tmpl
+++ b/config/application.tmpl
@@ -35,16 +35,16 @@ logging:
 
 server:
   contextPath: {{ default .Env.CONTEXT_PATH "/services" }}
-  port: {{ default .Env.PORT "8080" }}
+  port: 8080
   use-forward-headers: true
   session:
     timeout: {{ default .Env.SESSION_TIMEOUT "2592000" }}
 
 workflow:
-  experimentUrl: {{ default .Env.EXPERIMENT_URL "http://172.22.0.1:8087/experiment" }}
-  listMethodsUrl: {{ default .Env.LIST_METHODS_URL "http://172.22.0.1:8087/list-methods" }}
-  miningMipUrl: {{ default .Env.ML_URL "http://172.22.0.1:8087/mining" }}
-  miningExaremeUrl: {{ default .Env.EXAREME_URL "http://hbps2.chuv.ch:9090/mining/query" }}
+  experimentUrl: {{ default .Env.WOKEN_URL "http://172.22.0.1:8087" }}/experiment
+  listMethodsUrl: {{ default .Env.WOKEN_URL "http://172.22.0.1:8087" }}/list-methods
+  miningMipUrl: {{ default .Env.WOKEN_URL "http://172.22.0.1:8087" }}/mining"
+  miningExaremeUrl: {{ default .Env.EXAREME_URL "http://hbps2.chuv.ch:9090" }}/mining/query
 
 frontend:
   redirect:
diff --git a/src/docker/run/Dockerfile b/src/docker/run/Dockerfile
index 719fff68465d828d8fd06842a3ea71f23acc65b2..5fc5c1e5841532450452dec2421e6f0dc3c5ad82 100644
--- a/src/docker/run/Dockerfile
+++ b/src/docker/run/Dockerfile
@@ -7,8 +7,8 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/v0.2.0/dockerize
 RUN tar -C /usr/local/bin -xvzf dockerize-linux-amd64-v0.2.0.tar.gz
 
 COPY ./target/portal-backend-DOCKER_BUILD.jar backend.jar
+COPY ./config/application.tmpl /config/application.tmpl
 
-CMD mkdir /config
-ADD ./config/application.tmpl /config/application.tmpl
+EXPOSE 8080
 
-CMD dockerize -template /config/application.tmpl:/config/application.yml java -jar backend.jar
+CMD ["dockerize", "-template", "/config/application.tmpl:/config/application.yml", "java", "-jar", "backend.jar"]
diff --git a/src/docker/run/README.md b/src/docker/run/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..b1f0a90eef230aa70494f3905b3548cadb283d98
--- /dev/null
+++ b/src/docker/run/README.md
@@ -0,0 +1,27 @@
+# hbpmip/portal-backend
+
+[![](https://images.microbadger.com/badges/version/hbpmip/portal-backend.svg)](http://microbadger.com/images/hbpmip/portal-backend "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/hbpmip/portal-backend.svg)](http://microbadger.com/images/hbpmip/portal-backend "Get your own image badge on microbadger.com")
+
+## Docker image for the MIP portal backend.
+
+To use this image, you need a running PostgreSQL database.
+You need to configure a few things using some environment variables.
+
+Environment variables:
+
+* DB_URL: JDBC URL to connect to the database, for example "jdbc:postgresql://db:5432/portal"
+* DB_USER: User to use when connecting to the database
+* DB_PASSWORD: Password to use when connecting to the database
+* AUTHENTICATION: 0 to disable authentication or 1 to enable authentication.
+* CLIENT_ID: required when authentication is turned on, client ID for the [OpenID server of HBP](https://services.humanbrainproject.eu/oidc/)
+* CLIENT_SECRET: required when authentication is turned on, client secret for the [OpenID server of HBP](https://services.humanbrainproject.eu/oidc/)
+* TOKEN_URI: default to "https://services.humanbrainproject.eu/oidc/token"
+* AUTH_URI: default to "https://services.humanbrainproject.eu/oidc/authorize"
+* USER_INFO_URI: default to "https://services.humanbrainproject.eu/oidc/userinfo"
+* LOGGING_LEVEL_WEB: log level for the web layer of the application. Default to "DEBUG"
+* LOGGING_LEVEL_HIBERNATE: log level for the Hibernate layer of the application. Default to "DEBUG"
+* CONTEXT_PATH:  context path appended to all services running in this container. Default to "/services"
+* SESSION_TIMEOUT: Timeout in milliseconds for session expiration. Default to 2592000
+* WOKEN_URL: URL to woken machine learning server.
+* EXAREME_URL: URL to Exareme server.
+* FRONTEND_REDIRECT_URL: URL to to redirect after login. Default to "http://frontend/home"