Skip to content

sallyom/mongo-pacman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongo-pacman

A demo of a pacman (cloned from https://github.com/font/pacman) configured for Stone Soup. New Commit This is a two container application.

  1. Pacman frontend, this is the UI and can be scaled to multiple hosts
  2. A mongodb backend to store highscores.

Install into Stone Soup

  1. Import this repo https://github.com/jduimovich/mongo-pacman --- It will detect two components

  2. Change the name of the mongo component (it will start with "mongo") to mongodb.This will ensure the service looked for will match.

    2a Alternatively, provide the name of the generate name for the mongo component to the pacman component as an environment variable MONGO_SERVICE_HOST to match the name of the stone soup environment

  3. Press create-application and wait for the build to complete.

Note, there will be two routes generated, use the pacman one to access the app.

Build locally

podman build -t podman:local .

Run locally

podman run -d --rm -it --name pacman -p 8080:8080 pacman:test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.3%
  • CSS 12.9%
  • HTML 9.3%
  • Shell 1.8%
  • Dockerfile 1.5%
  • Pug 0.2%