version: "2" services: nginx-proxy: image: jwilder/nginx-proxy restart: always ports: - 80:80 - 443:443 volumes: - ./nginx-data/conf:/etc/nginx/conf.d - ./nginx-data/certs:/etc/nginx/certs - ./nginx-data/vhost:/etc/nginx/vhost.d - ./nginx-data/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 restart: always volumes_from: - nginx-proxy volumes: - ./nginx-data/certs:/etc/nginx/certs:rw - ./nginx-data/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