Browse Source

add cloud info

master
zeus 3 years ago
parent
commit
2aafb5c70f
  1. 10
      CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc

10
CloudComputing_Lab/modules/ROOT/pages/docker-compose.adoc

@ -37,14 +37,14 @@ services:
placement:
max_replicas_per_node: 1
constraints:
- node.labels.group==myapp //<14>
- node.labels.group==myapp //<7>
ports:
- "8080:80"
- "9443:443"
volumes: //<15>
- /PATH_to_FILE/my.conf:/DIR_in_container/my.conf //<16>
#- /PATH_to_FILE/public.crt:/etc/nginx/public.crt //<17>
#- /PATH_to_FILE/private.key:/etc/nginx/private.key //<17>
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>
networks:
- myapp //<5>

Loading…
Cancel
Save