Skip to content
Snippets Groups Projects
Commit ae8daed4 authored by Minh Nghia Duong's avatar Minh Nghia Duong
Browse files

Update README.md

parent c71ec12a
No related branches found
No related tags found
1 merge request!47Update README.md
Pipeline #58292 waiting for manual action
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment