Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.57 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.57 KB

rfa-docker

Creates a Docker container for demoing Roomify for Accommodations.

‼️‼️ This docker code is provided for local evaluation purposes only, and is not intended for production use. Please note that Roomify cannot provide advice or support for docker/docker-compose specific issues ‼️‼️

The image contains the following -

  • PHP 7.0 + Apache
  • Composer
  • Drush 8
  • Roomify for Accommodations

The image must be linked with a database container (e.g. mysql).

Usage

Building with Docker compose

git clone https://github.com/Roomify/rfa-docker.git
cd rfa-docker
docker-compose build
  • Run the Docker image
docker-compose up

This should bring up 2 containers, 1 Drupal RfA/PHP/Apache and a second MySQL container. Both containers should be linked and the Roomify for Accommodations database will be installed on startup. Once both containers are up, visit http://localhost:8001/ - you may use the credentials admin/admin to login.

Building the image standalone

docker run --rm --name rfa --link db:mysql Roomify/rfa-docker:latest

...where db:mysql matches the name and alias of your DB instance. The values from your linked DB instance will be used to complete the setup.

Once the container is up browse to port 80 on the container to view the site.