--- version: '2' services: frontend: image: jwilder/nginx-proxy:alpine restart: always ports: - "80:80" - "443:443" volumes: - ./certs:/etc/nginx/certs - /var/run/docker.sock:/tmp/docker.sock:ro networks: - 2_apps networks: 2_apps: