Skip to content
docker-compose.yml.template 1.12 KiB
Newer Older
        image: cr.unil.ch/icnml_web:2ce29364
            - ${CONFIGURATION}
            test: [ "CMD", "curl", "-k", "--fail", "https://localhost:5000/ping" ]
            interval: 30s
            timeout: 10s
            retries: 1
        deploy:
            replicas: 10
            resources:
                reservations:
                    memory: 256M
            restart_policy:
                condition: any
                delay: 5s
            update_config:
                parallelism: 5
                delay: 10s
                failure_action: rollback
                order: start-first
    
    redis:
        image: cr.unil.ch/icnml_redis
        deploy:
            replicas: 1
            resources:
                reservations:
                    memory: 1024M
            restart_policy:
                condition: any
                delay: 5s
            update_config:
                parallelism: 1
                delay: 10s
                failure_action: rollback
                order: stop-first