GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - docker-training/api-stack: a simple database + api stack useful for building demos around

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
database
database
 
 
helm
helm
 
 
.dockerignore
.dockerignore
 
 
Jenkinsfile
Jenkinsfile
 
 
readme.md
readme.md
 
 

Repository files navigation

A simple micorservice application

This app consists of two containerized components:

  • A postgres database
  • A springboot-driven API.

This is meant to serve as a minimal but nontrivial demo app for use in containerization and orchestration education programs.

Setup

  1. Log into whatever registry you want to host your images on, and make sure it's happy creating repositories on push.

  2. From the root of this repository (make sure to fill in the first):

    export REGISTRY=<your image registry>
    export OWNER=<your user or organization ID in your registry>
    docker image build -t ${REGISTRY}/${OWNER}/api:0.1 api
    docker image build -t ${REGISTRY}/${OWNER}/db:0.1 database
    docker image push ${REGISTRY}/${OWNER}/api:0.1
    docker image push ${REGISTRY}/${OWNER}/db:0.1
    
  3. Edit the image entries in app.yaml to match your api and db image names you just pushed, and deploy with kubectl apply -f app.yaml.

  4. Check the port selected for your api-ingress service. Hit your API like curl localhost:<port>/api/products/1.

About

a simple database + api stack useful for building demos around

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.