This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 39db51626f1e54baf9bcafcae8d0d64331219a28 Author: Tran Tien Duc <[email protected]> AuthorDate: Mon May 27 15:48:51 2019 +0700 JAMES-2766 --port is not an option of docker run (-p is valid) --- src/homepage/howTo/imap-server.html | 4 ++-- .../markdown/server/install/guice-cassandra-rabbitmq-swift.md | 10 +++++----- src/site/markdown/server/install/guice-cassandra.md | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/homepage/howTo/imap-server.html b/src/homepage/howTo/imap-server.html index 57c787e..68bc58a 100644 --- a/src/homepage/howTo/imap-server.html +++ b/src/homepage/howTo/imap-server.html @@ -137,8 +137,8 @@ $ mv keystore conf/keystore</code></pre> <pre><code>docker run \ --name james_run \ ---port "25:25" --port "465:465" --port "587:587" \ ---port "143:143" --port "993:993" \ +-p "25:25" -p "465:465" -p "587:587" \ +-p "143:143" -p "993:993" \ --volume "$PWD/conf:/root/conf/" \ --volume "$PWD/var:/root/var/" \ linagora/james-jpa-guice:latest</code></pre> diff --git a/src/site/markdown/server/install/guice-cassandra-rabbitmq-swift.md b/src/site/markdown/server/install/guice-cassandra-rabbitmq-swift.md index e848746..7f15a21 100644 --- a/src/site/markdown/server/install/guice-cassandra-rabbitmq-swift.md +++ b/src/site/markdown/server/install/guice-cassandra-rabbitmq-swift.md @@ -47,10 +47,10 @@ $ keytool -genkey -alias james -keyalg RSA -keystore conf/keystore You need to have a Cassandra, ElasticSearch and RabbitMQ instance running. You can either install the servers or launch them via docker: ```bash -$ docker run -d --port 9042:9042 --name=cassandra cassandra:3.11.3 -$ docker run -d --port 9200:9200 --name=elasticsearch --env 'discovery.type=single-node' elasticsearch:6.7.2 -$ docker run -d --port 5672:5672 --port 15672:15672 --name=rabbitmq rabbitmq:3.7.7-management -$ docker run -d --port 5000:5000 --port 8080:8080 --port 35357:35357 --name=swift linagora/openstack-keystone-swift:pike +$ docker run -d -p 9042:9042 --name=cassandra cassandra:3.11.3 +$ docker run -d -p 9200:9200 --name=elasticsearch --env 'discovery.type=single-node' elasticsearch:6.7.2 +$ docker run -d -p 5672:5672 -p 15672:15672 --name=rabbitmq rabbitmq:3.7.7-management +$ docker run -d -p 5000:5000 -p 8080:8080 -p 35357:35357 --name=swift linagora/openstack-keystone-swift:pike ``` Once everything is set up, you just have to run the jar with: @@ -73,7 +73,7 @@ objectstorage.s3.secretKey=verySecretKey1 To use Scality S3 server you have to launch it instead of swift container: ``` -$ docker run -d --port 8080:8000 --name=s3 scality/s3server:6018536a +$ docker run -d -p 8080:8000 --name=s3 scality/s3server:6018536a ``` More informations about available options [here](https://hub.docker.com/r/scality/s3server). diff --git a/src/site/markdown/server/install/guice-cassandra.md b/src/site/markdown/server/install/guice-cassandra.md index 0edaf26..564bd45 100644 --- a/src/site/markdown/server/install/guice-cassandra.md +++ b/src/site/markdown/server/install/guice-cassandra.md @@ -45,8 +45,8 @@ $ keytool -genkey -alias james -keyalg RSA -keystore conf/keystore You need to have a Cassandra and an ElasticSearch instance running. You can either install the servers or launch them via docker: ```bash -$ docker run -d --port 9042:9042 --name=cassandra cassandra:3.11.3 -$ docker run -d --port 9200:9200 --name=elasticsearch --env 'discovery.type=single-node' elasticsearch:6.7.2 +$ docker run -d -p 9042:9042 --name=cassandra cassandra:3.11.3 +$ docker run -d -p 9200:9200 --name=elasticsearch --env 'discovery.type=single-node' elasticsearch:6.7.2 ``` Once everything is set up, you just have to run the jar with: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
