From 77d7a5f1f92b326b5c9b7a25fc95ddf49d888629 Mon Sep 17 00:00:00 2001 From: test2 Date: Mon, 27 Apr 2020 21:50:02 +0300 Subject: [PATCH] minio --- DockerSwarm/swarm-volumes-storage-howto.adoc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/DockerSwarm/swarm-volumes-storage-howto.adoc b/DockerSwarm/swarm-volumes-storage-howto.adoc index 3f5255a..fa2304b 100644 --- a/DockerSwarm/swarm-volumes-storage-howto.adoc +++ b/DockerSwarm/swarm-volumes-storage-howto.adoc @@ -42,8 +42,8 @@ docker node update --label-add minio2=true [node-name] docker node update --label-add minio3=true [node-name] docker node update --label-add minio4=true [node-name] -docker node update --label-add group==minio [node-name] //<2> -docker node update --label-add group==minio [node-name] +docker node update --label-add group=minio [node-name] //<2> +docker node update --label-add group=minio [node-name] ---- <1> node name from command: docker node ls e.g. *snf-12118* (minio) <2> node name from command: docker node ls e.g. *snf-12118* (proxy) @@ -292,7 +292,7 @@ server { proxy_buffering off; ssl_certificate /etc/nginx/public.crt; //<4> - ssl_certificate_key /etc/nginx/private.crt; //<4> + ssl_certificate_key /etc/nginx/private.key; //<4> ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; @@ -333,8 +333,10 @@ server { .cp files [source,yaml] ---- -scp minio.conf zeus@*ip*:/PATH_to_FILE/minio.conf // <1> -scp minio.conf zeus@*ip*:/PATH_to_FILE/minio.conf // <1> +# copy files to proxy server +scp minio.conf user@IP:/PATH_to_FILE/minio.conf // <1> +scp private.key user@IP:/PATH_to_FILE/private.key // <1> +scp public.crt user@IP:/PATH_to_FILE/public.crt // <1> ---- <1> change *ip* (see <2> in http://docs.swarmlab.io/lab/DockerSwarm/swarm-volumes-storage-howto.adoc.html#_create_node_labels[create_node_labels]) and *PATH_to_FILE* (see <16> in http://docs.swarmlab.io/lab/DockerSwarm/swarm-volumes-storage-howto.adoc.html#_create_yaml_file[create_yaml_file])