Skip to content
/ freight Public

runs the code in k8s jobs and stores the output in postgres db

Notifications You must be signed in to change notification settings

0jk6/freight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freight

Allows you to run code on Kubernetes using k8s jobs, just like leetcode, codeforces and other online judges

Build docker images for the backend, service and the ui and push them to the dockerhub

  • docker build -t YOUR-DOCKERHUB-USERNAME/freight-backend:0.0.1 -f Dockerfile.backend .

  • docker build -t YOUR-DOCKERHUB-USERNAME/freight-service:0.0.1 -f Dockerfile.service .

  • docker push YOUR-DOCKERHUB-USERNAME/freight-backend:0.0.1

  • docker push YOUR-DOCKERHUB-USERNAME/freight-service:0.0.1

Make sure that you edit the images in the install.yml file to match the above pushed images.

  • kubectl apply -f install.yml

About

runs the code in k8s jobs and stores the output in postgres db

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages