Skip to content
Permalink
Browse files

drishti-plan added.

  • Loading branch information...
dermatologist committed Dec 30, 2018
1 parent c5e2ae2 commit f813d5fe04521da2ca3941d48e919c0a7559e8b0
Showing with 19 additions and 0 deletions.
  1. +7 −0 docker-compose.yml
  2. +4 −0 haproxy/haproxy.cfg
  3. +8 −0 postgresql/init.sql
@@ -79,3 +79,10 @@ services:
env_file:
- resource-server.env

drishti-plan:
build: ./drishti-plan/.
image: beapen/drishti-plan:latest
depends_on:
- drishti-cog
env_file:
- resource-server.env
@@ -14,6 +14,7 @@ frontend public
use_backend shimmer if { path_beg /authorize /deauthorize /authorizations /omh-shims-api /data }
use_backend emr if { path_beg /openmrs }
use_backend act if { path_beg /act }
use_backend plan if { path_beg /plan }
default_backend cog

backend shimmer
@@ -32,6 +33,9 @@ backend act
reqrep ^([^\ ]*\ /)act[/]?(.*) \1\2
server act1 drishti-act:8080

backend plan
reqrep ^([^\ ]*\ /)plan[/]?(.*) \1\2
server plan1 drishti-plan:3000

listen stats
bind :5001
@@ -2,6 +2,14 @@ CREATE DATABASE omh;

\c omh

CREATE TABLE public."user" (
first_name character varying(300),
last_name character varying(300),
age integer,
uuid character varying(300) NOT NULL
);


CREATE TABLE oauth_access_token (
token_id VARCHAR(256),
token BYTEA,

0 comments on commit f813d5f

Please sign in to comment.
You can’t perform that action at this time.