Skip to content
Extraits de code Groupes Projets
Valider 79f377b7 rédigé par Frédéric Minne's avatar Frédéric Minne
Parcourir les fichiers

add some documentation in compose files

parent 7f37c7c9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# Define open ports on the service
version: '3.1' version: '3.1'
services: services:
webserver: webserver:
......
...@@ -39,12 +39,14 @@ services: ...@@ -39,12 +39,14 @@ services:
- ./deploy/proxy.conf:/etc/nginx/proxy.conf - ./deploy/proxy.conf:/etc/nginx/proxy.conf
networks: networks:
- proxy - proxy
networks: networks:
proxy: proxy:
name: proxy name: proxy
external: true
# Comment the rest of the definition if the network is already defined outside of the compose file
# for example by running docker network create command
attachable: true attachable: true
driver: overlay driver: overlay
driver_opts: driver_opts:
encrypted: 1 encrypted: 1
external: true \ No newline at end of file
\ No newline at end of file
# This is the docker swarm version writtent to run with nginxproxy
version: '3.7' version: '3.7'
services: services:
webserver: webserver:
......
# Basic compose file mainly used to build the container image
version: '3.1' version: '3.1'
services: services:
webserver: webserver:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter