Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.43 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.43 KB

Directions on how to run the ActiveStack Docker containers

OSX and Windows Setup

If you are on windows or OSX, use Docker Toolbox to install docker client, docker-machine, docker-compose, and VirtualBox on you machine.

Linux Setup

Run the images images

  1. Run "Docker Quickstart Terminal". In the Docker terminal:
  2. Clone ActiveStack Docker
  1. Change directories to ActiveServerDockerConfig
  • cd ActiveServerDockerConfig/simple for single docker instances for each component (activeserver, mysql, redis, rabbitmq)
  • cd ActiveServerDockerConfig/clustred for some components in a cluster (currently rabbitmq. Others comming soon ...)
  1. Start the containers
  • docker-compose up foreground
  • docker-compose up -d daemon

Helpful Commands

From within a Docker terminal:

  • docker-machine ip dev - To see which ports the containers are running on
  • docker ps - Lists all running containers
  • sudo docker exec -i -t <container-d> bash - To attach to bash in a particular running container

Other Notes

  • The database files are stored within the MySQL Docker container, which could be useful to create a container with seed data for dev.