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

Commit

Permalink
compose config fixes, doc correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Cerfoglio authored and Gabriele Cerfoglio committed Nov 29, 2017
1 parent a866616 commit c439fb2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ version: '3'
services:
web:
image: martel/mastermind-ui
#environment:
#- MASTERMIND_API_URI='http://localhost:3000'
environment:
- MASTERMIND_API_HOST='localhost'
- MASTERMIND_API_PORT='3000'
ports:
- "8080:8080"

api:
image: martel/mastermind-api
#environment:
#- SERVICE_MANAGER_URI='http://service-manager:8081'
environment:
- SERVICE_MANAGER_HOST='service-manager'
- SERVICE_MANAGER_PORT='8080'
ports:
- "3000:3000"
command: rails s -b0
Expand Down
12 changes: 8 additions & 4 deletions docs/admin/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ The service's default configuration can be overriden through the use of a few
environment variables:

- MASTERMIND_VERSION: the current version of MasterMind
- SERVICE_MANAGER_URI: the URI of MasterMind's Service Manager Microservice,
port and protocol included (e.g. <http://service-manager:8081>)
- SERVICE_MANAGER_HOST: the host of MasterMind's Service Manager Microservice,
(e.g. service-manager)
- SERVICE_MANAGER_PORT: the port of MasterMind's Service Manager Microservice,
(e.g. 8080)

## Service Manager

Expand Down Expand Up @@ -96,5 +98,7 @@ The UI's default configuration can be overriden through the use of a few
environment variables:

- MASTERMIND_VERSION: the current version of MasterMind
- MASTERMIND_API_URI: the URI of MasterMind's API, port and protocol included
(e.g. <http://localhost:3000>)
- MASTERMIND_API_HOST: the host of MasterMind's API
(e.g. localhost)
- MASTERMIND_API_PORT: the port of MasterMind's API
(e.g. 3000)

0 comments on commit c439fb2

Please sign in to comment.