- Code originally from https://github.com/ccoenraets/backbone-cellar
"Backbone Cellar" is a sample application built with Backbone.js.
The application allows you to browse through a list of wines, add, update, and delete wines.
Three versions of the application are available, each one in the corresponding folder:
-
bootstrap
This version uses an in-memory datastore. This application is ready to be run as a Docker container in the: cursocloudaws/backbone-cellar-mem Docker Hub repository.
-
bootstrap-sql-docker
This version has been modified to support the execution in Docker containers via the Legacy container links. In particular, environment variables are read at runtime to automatically discover a MySQL container that hosts the wines database (see
api/index.php::getConnection()
for details). A MySQL-based back-end is required by a linked MySQL Docker container.This application is ready to be run as a Docker container in the cursocloudaws/backbone-cellar-sql-docker Docker Hub repository.
-
bootstrap-sql-docker-compose
This version has been modified to support the execution in Docker containers using Docker container networking (as opposed to the legacy container links). In particular, environment variables are read at runtime to access a MySQL container that hosts the wines database (see
api/index.php::getConnection()
for details).This application is ready to be run via Docker Compose using the Docker Image available in cursocloudaws/backbone-cellar-sql-docker-composed Docker Hub repository.