From 9ea6cd3133ef82a920251724b13df4337336fa9e Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 4 Mar 2022 14:39:41 +0200 Subject: [PATCH] add cloud info --- .../modules/ROOT/pages/docker-compose.adoc | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc b/CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc index 0321ac7..2c449f9 100644 --- a/CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc +++ b/CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc @@ -37,14 +37,14 @@ services: placement: max_replicas_per_node: 1 constraints: - - node.labels.group==myapp //<7> + - node.labels.group==myapp ports: - "8080:80" - "9443:443" - volumes: //<8> - - /PATH_to_FILE/my.conf:/DIR_in_container/my.conf //<9> - #- /PATH_to_FILE/public.crt:/etc/nginx/public.crt //<10> - #- /PATH_to_FILE/private.key:/etc/nginx/private.key //<11> + volumes: //<7> + - /PATH_to_FILE/my.conf:/DIR_in_container/my.conf //<3> + #- /PATH_to_FILE/public.crt:/etc/nginx/public.crt //<3> + #- /PATH_to_FILE/private.key:/etc/nginx/private.key //<3> networks: - myapp //<5> @@ -62,14 +62,6 @@ networks: <5> Network to Use <6> Node Placement <7> Start server -<10> *NEW* Service name -<11> *NEW* Volume -<12> *NEW* Port -<13> *NEW* Label -<14> Node Placement (Proxy) -<15> Bind mount config files -<16> Nginx config file -<17> ssl keys