Browse Source

add cloud info

master
zeus 3 years ago
parent
commit
9ea6cd3133
  1. 18
      CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc

18
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

Loading…
Cancel
Save