services: nginx-rp: image: nginx:latest restart: always container_name: nginx-rp network_mode: host volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./dhparam.txt:/dhparam.txt - /etc/letsencrypt/live/viyurz.fr:/etc/letsencrypt/live/viyurz.fr - /etc/letsencrypt/archive/viyurz.fr:/etc/letsencrypt/archive/viyurz.fr