/services-core

Primary LanguageRubyMIT LicenseMIT

under development

services core CircleCI

This repo contains docker files to setup the Catarse environment. All dependendent repos are included as git subtrees mounted on the services folder.

setup

For every service described on docker-compose.yml we have multiple env_files compose_env/.*.env.sample. Just make a copy off all of them on the same directory removing .sample.

Start Database: $ docker-compose up -d service_core_db

Run the migrations and seed database with sample data:

$ docker-compose up migrations
// database service mapping the 5444 to postgres container
$ psql -h localhost -p 5444 -U postgres service_core < services/services-core-db/sample.seed.sql

Start services: $ docker-compose up -d