Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

rm services, small tweaks #4

Merged
merged 1 commit into from
Jul 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ services:
- mongodata

elkhorn:
image: coralproject/elkhorn
#build: elkhorn
#image: coralproject/elkhorn
build: elkhorn
restart: always
environment:
- "PILLAR_URL=https://${FRONTEND_HOST}/pillar_api"
Expand All @@ -67,7 +67,7 @@ services:
restart: always
volumes:
- ./proxy/:/etc/nginx/conf.d/
- /etc/ssl/certs/:/etc/ssl/certs/
- ./certs/:/etc/ssl/certs/
links:
- pillarapp:pillar
- cayapp:cay
Expand Down
2 changes: 1 addition & 1 deletion docker/elkhorn/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"pillarHost": "<no value>",
"pillarHost": "http://localhost:8080",
"basicAuthorization": "Basic <no value>",
"s3": {
"bucket": "<no value>",
Expand Down
40 changes: 40 additions & 0 deletions docker/env.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,43 @@ export S3_BUCKET=xxx
export AWS_REGION=xxx
export AWS_ACCESS_KEY_ID=xxx
export AWS_ACCESS_KEY=xxx

export DBNAME="coral"

export MONGODB_HOST="localhost"
export RABBITMQ_HOST="localhost"
export RABBITMQ_DEFAULT_USER=""
export RABBITMQ_DEFAULT_PASS=""
export RABBITMQ_PORT="5672"

# PILLAR
export MONGODB_URL="mongodb://${MONGODB_HOST}:27017/${DBNAME}"
export AMQP_URL="amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@${RABBITMQ_HOST}:${RABBITMQ_PORT}/"
export AMQP_EXCHANGE=PillarMQ
export PILLAR_ADDRESS=:8080
export PILLAR_HOME=logs
export PILLAR_CRON=true
export PILLAR_CRON_SEARCH="@every 1m"
export PILLAR_CRON_STATS="@every 100m"
export XENIA_URL="http://localhost:4000/1.0/exec/"
export XENIA_QUERY_PARAM="?skip=0&limit=100"
export XENIA_AUTH="Basic <auth>"

export MONGODB_ADDRESS=${MONGODB_HOST}:27017
export MONGODB_USERNAME=
export MONGODB_PASSWORD=
export MONGODB_PASSWORD_FILE=
export MONGODB_DATABASE=${DBNAME}
export MONGODB_SSL=


#CAY
export ENV=Staging
export PROJECT="Coral Project"
export DO_AUTH=false
export GAID=UA-12345678-9
export AUTH_TOKEN=
export XENIA_URL="http://localhost:4000"
export PILLAR_URL="http://localhost:8080"


7 changes: 0 additions & 7 deletions docker/proxy/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ server {
proxy_pass http://cay;
}

location "/atoll_demo/" {
proxy_pass http://atoll/;
}

location "/cay_demo/" {
proxy_pass http://cay/;
}
Expand All @@ -18,7 +14,4 @@ server {
proxy_pass http://pillar/;
}

location "/xenia_demo/" {
proxy_pass http://xenia/;
}
}
6 changes: 0 additions & 6 deletions docker/proxy/ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ server {
proxy_pass http://cay;
}

location "/atoll_demo/" {
proxy_pass http://atoll/;
}

location "/cay_demo/" {
proxy_pass http://cay/;
Expand All @@ -27,7 +24,4 @@ server {
proxy_pass http://pillar/;
}

location "/xenia_demo/" {
proxy_pass http://xenia/;
}
}
7 changes: 0 additions & 7 deletions docker/proxy/upstreams.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
upstream atoll {
server atoll:8181;
}

upstream cay {
server cay:80;
}
Expand All @@ -10,6 +6,3 @@ upstream pillar {
server pillar:8080;
}

upstream xenia {
server xenia:4000;
}