A demo of a pacman (cloned from https://github.com/font/pacman) configured for Stone Soup. New Commit This is a two container application.
- Pacman frontend, this is the UI and can be scaled to multiple hosts
- A mongodb backend to store highscores.
-
Import this repo https://github.com/jduimovich/mongo-pacman --- It will detect two components
-
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 -
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.
podman build -t podman:local .
podman run -d --rm -it --name pacman -p 8080:8080 pacman:test