version: '3.8' services: cors-proxy: image: nginx:alpine container_name: cors-proxy restart: unless-stopped ports: - '8081:80' volumes: - ./cors-proxy.conf:/etc/nginx/nginx.conf:ro healthcheck: test: ['CMD', 'wget', '-q', '--spider', 'http://localhost/'] interval: 30s timeout: 10s retries: 3