services:
    monochrome:
        build:
            context: ..
            dockerfile: docker/Dockerfile
        container_name: monochrome
        ports:
            - '4173:4173'
        restart: unless-stopped
        networks:
            - monochrome-network

    cors-proxy:
        image: nginx:alpine
        container_name: cors-proxy
        restart: unless-stopped
        ports:
            - '8081:80'
        volumes:
            - ./cors-proxy.conf:/etc/nginx/nginx.conf:ro
        networks:
            - monochrome-network

networks:
    monochrome-network:
        driver: bridge
