Permalink
Browse files

Add support for specifying IDENTITY_NETWORK_HOST when running docker …

…compose (needed for docker toolbox/virtualbox)
  • Loading branch information...
richturner committed Feb 6, 2019
1 parent 74c97d7 commit 639426f4528e88d626f45082e1c487dd0b1452f3
Showing with 7 additions and 1 deletion.
  1. +6 −0 README.md
  2. +1 −1 profile/deploy.yml
@@ -24,6 +24,12 @@ Alternatively you can build the docker images locally, to do this please refer t
docker-compose -p openremote -f profile/demo.yml up --build
```

***NOTE: If you are using docker toolbox (Virtual Box) then you must specify the `IDENTITY_NETWORK_HOST` environment variable as the IP address of the docker VM:***
```
Command Prompt: set IDENTITY_NETWORK_HOST=192.168.99.100 && docker-compose...
Bash: IDENTITY_NETWORK_HOST=192.168.99.100 docker-compose....
```

Once you have running docker containers you can Access the manager UI and API (you will have to accept the 'insecure' self-signed SSL certificate):

```
@@ -137,7 +137,7 @@ services:
# The public host name of this OpenRemote installation. This name is used in bearer tokens
# and must be the name you access the web services under. If you change proxy#DOMAINNAME, also
# change this to match.
# IDENTITY_NETWORK_HOST: localhost
IDENTITY_NETWORK_HOST: ${IDENTITY_NETWORK_HOST:-localhost}

# Set if SSL is enabled on the frontend reverse proxy and all internal proxies should assume https
IDENTITY_NETWORK_SECURE: 'true'

0 comments on commit 639426f

Please sign in to comment.