Skip to content

Commit

Permalink
Merge pull request #2 from ioFog/demo-env-fix
Browse files Browse the repository at this point in the history
dev -> prod controller environment
  • Loading branch information
Railag committed Nov 22, 2018
2 parents ad1dfd5 + 01d61bd commit 4012b28
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Expand Up @@ -11,9 +11,9 @@ services:
depends_on:
- iofog-connector
environment:
- NODE_ENV=development
- NODE_ENV=production
ports:
- "51121:51121"
- "54421:54421"
links:
- iofog-connector
container_name: iofog-controller
Expand Down
2 changes: 1 addition & 1 deletion iofog-agent/config.xml
Expand Up @@ -2,7 +2,7 @@
<config>
<access_token/>

<controller_url>http://iofog-controller:51121/api/v3/</controller_url>
<controller_url>http://iofog-controller:54421/api/v3/</controller_url>

<controller_cert>/etc/iofog-agent/cert.crt</controller_cert>

Expand Down
2 changes: 1 addition & 1 deletion iofog-agent/start.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
CONTROLLER_HOST="http://iofog-controller:51121/api/v3"
CONTROLLER_HOST="http://iofog-controller:54421/api/v3"

token=""
uuid=""
Expand Down
2 changes: 1 addition & 1 deletion iofog-controller/start.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

CONTROLLER_HOST="http://localhost:51121/api/v3"
CONTROLLER_HOST="http://localhost:54421/api/v3"

iofog-controller start
if [ -f /first_run.tmp ]; then
Expand Down

0 comments on commit 4012b28

Please sign in to comment.