Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

Commit

Permalink
Add a docker-compose file with a test service
Browse files Browse the repository at this point in the history
  • Loading branch information
ellneal committed May 3, 2016
1 parent 1348266 commit 29e112c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yml
@@ -0,0 +1,25 @@
version: "2"
services:
redis:
image: redis
container_name: heaven_redis
networks:
- heaven
test:
build:
context: .
image: heaven/test
command: ["rake"]
environment:
RAILS_ENV: test
REDIS_PROVIDER: REDIS_CONTAINER_URL
REDIS_CONTAINER_URL: redis://heaven_redis
volumes:
- ./:/usr/lib/heaven
depends_on:
- redis
networks:
- heaven
networks:
heaven:
driver: bridge

0 comments on commit 29e112c

Please sign in to comment.