version: "3" services: nginx: image: nginx:stable networks: - mainnet ports: - "7773:8080" - "127.0.0.1:7774:8081" restart: unless-stopped volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - /etc/letsencrypt/live/terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/terminaldweller.com/fullchain.pem:ro - /etc/letsencrypt/live/terminaldweller.com/privkey.pem:/etc/letsencrypt/live/terminaldweller.com/privkey.pem:ro - ./srv:/srv cap_drop: - ALL cap_add: - CHOWN - SETGID - SETUID networks: mainnet: