Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Example with Docker Compose #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vovimayhem
Copy link

I added a docker compose example file to quickly launch the example with Docker Compose.

Example usage:

# Move to the directory:
cd actioncable-examples

# FIRST TIME ONLY: Run the setup script inside a temporary app container:
docker-compose run --no-deps --rm web setup

# Launch the redis, web & cable containers - will download & launch a working redis container automatically:
docker-compose up

Merge to master in case you guys are interested on it :) Cheers!

…connection to work with the docker compose setup example

# The Web container:
web: &app_base
image: vovimayhem/app-dev:mri-2.2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syndbg The example rails app uses an unreleased version of Rails 5.0 (as it's currently being developed), so you'll not find it on the official Docker library.

I also admit that although there's an official Ruby image, I find this one easier to use, as it does not require any building step besides the bundle install. (I remember having to run some sort of building step in the official ruby image)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vovimayhem Aha, I see! Good to know. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants