services: static_zuna_id: image: halverneus/static-file-server:latest container_name: static_zuna_id restart: always volumes: - ./:/root/web:rw environment: - CORS=true - FOLDER=/root/web networks: - traefik labels: - "traefik.enable=true" - "traefik.http.routers.static_zuna_id.rule=Host(`static.zuna.id`) || Host(`static.banglade.sh`)" - "traefik.http.routers.static_zuna_id.entrypoints=websecure" - "traefik.http.routers.static_zuna_id.tls.certresolver=letsencrypt" - "traefik.http.routers.static_zuna_id-http.rule=Host(`static.zuna.id`) || Host(`static.banglade.sh`)" - "traefik.http.routers.static_zuna_id-http.entrypoints=web" - "traefik.http.routers.static_zuna_id-http.middlewares=https-redirect" - "traefik.http.middlewares.https-redirect.redirectscheme.scheme=https" networks: traefik: external: true