Sample application to demonstrate the usage of Docker.
3.8K
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!
You can access the web server via port 9292
Please use the tag latest
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.
Content type
Image
Digest
Size
285.5 MB
Last updated
over 8 years ago
docker pull jfahrer/demo_web_app