version: '3.8' services: nginx: image: nginx:1.25-alpine container_name: pfandsystem-nginx restart: unless-stopped ports: - "80:80" - "443:443" volumes: - ./dist:/usr/share/nginx/html:ro - ./nginx.conf:/etc/nginx/nginx.conf:ro - ./certbot/www:/var/www/certbot:ro - ./certbot/conf:/etc/letsencrypt