james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [9/9] james-project git commit: JAMES-1759 Guice docker deployement should propose webadmin server
Date Wed, 22 Jun 2016 08:36:49 GMT
JAMES-1759 Guice docker deployement should propose webadmin server


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/4097e093
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/4097e093
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/4097e093

Branch: refs/heads/master
Commit: 4097e0933123e238263e2db2fb9f6c9fd96d4ae4
Parents: 12ef929
Author: Benoit Tellier <btellier@linagora.com>
Authored: Fri Jun 17 11:19:39 2016 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Wed Jun 22 15:35:28 2016 +0700

----------------------------------------------------------------------
 README.txt                                      |  1 +
 dockerfiles/run/guice/Dockerfile                | 15 ++++++-------
 .../guice/destination/conf/webadmin.properties  | 22 ++++++++++++++++++++
 3 files changed, 31 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/4097e093/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index e789383..a7ac96a 100644
--- a/README.txt
+++ b/README.txt
@@ -145,6 +145,7 @@ $ docker run --hostname HOSTNAME -p "25:25" -p 80:80 -p "110:110" -p "143:143"
-
 Where :
 - HOSTNAME: is the hostname you want to give to your James container. This DNS entry will
be used to send mail to your James server.
 
+You can add an optional port binding to port 8000, to expose the webadmin server. Please
note that users are not authenticated on webadmin server, thus you should avoid exposing it
in production.
 
 Run James with Java 6 + Spring + JPA
 ====================================

http://git-wip-us.apache.org/repos/asf/james-project/blob/4097e093/dockerfiles/run/guice/Dockerfile
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/Dockerfile b/dockerfiles/run/guice/Dockerfile
index e2176ce..03f2a0c 100644
--- a/dockerfiles/run/guice/Dockerfile
+++ b/dockerfiles/run/guice/Dockerfile
@@ -6,14 +6,15 @@ FROM java:openjdk-8-jdk
 
 # Ports that are used
 #
-# 25  SMTP without authentication
-# 110 POP3
-# 143 IMAP with startTLS enabled
-# 465 SMTP with authentication and socketTLS enabled
-# 587 SMTP with authentication and startTLS enabled
-# 993 IMAP with socketTLS enabled
+# 25   SMTP without authentication
+# 110  POP3
+# 143  IMAP with startTLS enabled
+# 465  SMTP with authentication and socketTLS enabled
+# 587  SMTP with authentication and startTLS enabled
+# 993  IMAP with socketTLS enabled
+# 8000 Web Admin interface (unsecured: expose at your own risks)
 
-EXPOSE 25 110 143 465 587 993
+EXPOSE 25 110 143 465 587 993 8000
 
 WORKDIR /root
 

http://git-wip-us.apache.org/repos/asf/james-project/blob/4097e093/dockerfiles/run/guice/destination/conf/webadmin.properties
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/destination/conf/webadmin.properties b/dockerfiles/run/guice/destination/conf/webadmin.properties
new file mode 100644
index 0000000..70a6cb9
--- /dev/null
+++ b/dockerfiles/run/guice/destination/conf/webadmin.properties
@@ -0,0 +1,22 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+#  This template file can be used as example for James Server configuration
+#  DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
+
+enabled=true
+port=8000
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message