diff --git a/pica-nginx/README.md b/pica-nginx/README.md index ce054eaf441e559cf5e54b0fc0f2c0cf483efdab..43d50a73025a61a00eda99ec0b224a00e94d57b4 100644 --- a/pica-nginx/README.md +++ b/pica-nginx/README.md @@ -11,9 +11,16 @@ Elle sert de base à tous les sites web simples hébergés par Picasoft (ex: `ww Exemple de `docker-compose.yml` ``` +version: "3.7" + volumes: mon_site: +networks: + docker_default: + external: true + name: "docker_default" + services: mon_site: container_name: mon_site @@ -21,12 +28,14 @@ services: volumes: - mon_site:/var/www/html labels: - - "traefik.frontend.rule=Host:mon_site.picasoft.net" + - "traefik.frontend.rule=Host:test01.test.picasoft.net" - "traefik.port=80" - "traefik.enable=true" environment: - AUTOINDEX=true restart: always + networks: + - docker_default ``` ## Environnement