Sign inSign up

jfahrer/demo_web_app

By jfahrer

•Updated over 8 years ago

Sample application to demonstrate the usage of Docker.

Image
1

3.8K

jfahrer/demo_web_app repository overview

⁠Demo Web App

This is a sample web application written in ruby. The application provides a web service using sinatra. Requests are logged into a PostgreSQL database.

Do not use this image in production!

⁠Usage

You can access the web server via port 9292

⁠Tags

Please use the tag latest

⁠Environment variables

POSTGRES_HOST can be used to set the host that runs the PostgreSQL database. The app will try to connect to this host. Please make sure the host exists before you start the application. The default is localhost

POSTGRES_DB can be used to configure the database name that will be used. Be sure that the database exists! The default is web_app.

POSTGRES_USER can be used to set the user that is used to connect to the PostgreSQL database. The default is web_app.

POSTGRES_PASSWORD can be used to set the password that is used to connect to the PostgreSQL database. The default is no password.

Tag summary

Content type

Image

Digest

Size

285.5 MB

Last updated

over 8 years ago

docker pull jfahrer/demo_web_app