version: '2' services: ProxyReverse_Traefik: image: traefik:1.5 restart: always command: --web --docker --logLevel=DEBUG ports: - "8081:80" - "8080:8080" volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "$PWD/traefik.toml:/traefik.toml" Nginx_WWW: image: richarvey/nginx-php-fpm restart: always labels: - "traefik.port=80" - "traefik.backend=Nginx_WWW" - "traefik.frontend.rule=PathPrefixStrip:/www" volumes: - "/mnt/Raid/Documents_de_Florian/Documents_NAS/Dockers/Docker_Data/Nginx_WWW/:/var/www/html" Nginx_Dokuwiki: image: richarvey/nginx-php-fpm restart: always environment: - PUID=1000 - PGID=1000 labels: - "traefik.port=80" - "traefik.backend=Nginx_Dokuwiki" - "traefik.frontend.rule=Host:doku.floriantales.fr" volumes: - "/mnt/Raid/Documents_de_Florian/Documents_NAS/Dockers/Docker_Data/Nginx_Dokuwiki/:/var/www/html"