Setup schema and tests.

This commit is contained in:
Jonathan Cremin 2016-06-19 11:17:31 -07:00
parent 806f42e3f8
commit de0284e48a
7 changed files with 49 additions and 17 deletions

View file

@ -1,8 +1,13 @@
image: node:6
services:
- mongo
- postgres
- redis
variables:
POSTGRES_DB: hostr_test
POSTGRES_USER: hostr_test
POSTGRES_PASSWORD: ""
stages:
- test
@ -16,7 +21,7 @@ test:
tags:
- docker
variables:
MONGO_URL: "mongodb://mongo:27017/hostr"
DATABASE_URL: "postgres://hostr_test@postgres:5432/hostr_test"
REDIS_URL: "redis://redis:6379"
DEBUG: "hostr*"