Giter Site home page Giter Site logo

courupteddata / pythondockercomposeexample Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 97 KB

A simple python application to excercise containerization and some extra features of docker compose.

License: MIT License

Dockerfile 8.11% Python 67.63% Java 21.43% Shell 2.83%

pythondockercomposeexample's Introduction

Simple Python Docker Compose Example

Tech stack

  • Python 3.11
  • RabbitMQ
  • Docker Compose?
  • Kubernetes?

Flow

  1. external_in_out - provides some text file
  2. preprocess - extracts some information and formats it
  3. process - does something
  4. postprocess - does some packaging thing
  5. external_in_out - take the output and puts it somewhere?

Kubernetes

Leveraging K3s

Running

docker compose up

Forcing clean build

docker compose up --build --force-recreate --no-deps

Getting JSON Schema

import json
from common.models.datamessage import DataMessage
print(json.dumps(DataMessage.model_json_schema()))

pythondockercomposeexample's People

Contributors

courupteddata avatar

Watchers

 avatar

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.