Giter Site home page Giter Site logo

swiss-ai-center / average-shade-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 3.74 MB

Service that returns the average shade of an image.

Home Page: https://docs.swiss-ai-center.ch/reference/services/average-shade/

License: GNU Affero General Public License v3.0

Dockerfile 5.63% Python 94.37%
image-processing

average-shade-service's Introduction

average-shade-service's People

Contributors

andrptrc avatar ludelafo avatar rmarquis avatar

Watchers

 avatar  avatar  avatar

average-shade-service's Issues

Set port for service in .env

Specify the port to use in the .env file that will be used by uvicorn when starting the app, Docker Compose to map the port and the service when it announces itself to the core engine.

Add docker gateway for local dev on Linux machine

Add docker gateway to compose file, in order to allow registration of the service on Linux machine (for local development).

   extra_hosts:
     - "host.docker.internal:host-gateway"

(after the environment section)

Update service for production

  • update python version to 3.11
  • update requirements
  • add prod env vars
  • update ingress to use the right annotations
  • change deployment trigger conditions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.