name: desfoto services: web: image: nginx:1.28-alpine restart: unless-stopped volumes: - ./site:/usr/share/nginx/html:ro - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro ports: - 127.0.0.1:18430:80 healthcheck: test: [CMD, wget, -q, --spider, http://127.0.0.1/] interval: 15s timeout: 5s retries: 5 logging: driver: json-file options: max-size: 5m max-file: '2'