Sign inSign up

researchbods/voting-app-worker

By researchbods

Updated almost 6 years ago

A simple voting application for technical tests. This is the worker application, written in java

Image
0

319

researchbods/voting-app-worker repository overview

voting-app-worker

Ports to be exposed

No container ports required

Environment Variables

  • DB_HOST - Database hostname
  • DB_USER - Database username
  • DB_PASS - Database Password
  • DATABASE - The database to be used
  • REDIS_HOST - The hostname for redis (do not include the port number)

Additional Information

The container connects to Redis first, then the Database. This container is essential and should be made to work first as it creates the database.

Git repo

The original code can be viewed here: https://github.com/researchbods/voting-app

There's nothing stopping you from changing to a different worker/vote/result application type, but they're not configured to use environment variables, and will increase the complexity of the task.

Tag summary

Content type

Image

Digest

Size

59.4 MB

Last updated

almost 6 years ago

docker pull researchbods/voting-app-worker