version: "2" services: nginx-proxy: image: jwilder/nginx-proxy ports: - 80:80 - 443:443 volumes: - ./conf:/etc/nginx/conf.d - ./certs:/etc/nginx/certs - ./vhost:/etc/nginx/vhost.d - ./html:/usr/share/nginx/html - /var/run/docker.sock:/tmp/docker.sock:ro - ${PWD}/secure-turn-module:/etc/nginx/modules/secure-turn-module networks: cttue_web_services: nginx-proxy-acme: image: nginxproxy/acme-companion volumes_from: - nginx-proxy volumes: - ./certs:/etc/nginx/certs:rw - ./acme:/etc/acme.sh - /var/run/docker.sock:/var/run/docker.sock:ro environment: - DEFAULT_EMAIL=codingmarco@gmail.com networks: cttue_web_services: networks: cttue_web_services: external: true