forked from openhab/openhab-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes docker-compose, adds HTTPS and refactors image builds (fixes op…
…enhab#234) (openhab#276) * Feature/automate docker build (openhab#4) * Moved Dockerfile into root * Dockerfile tidying Signed-off-by: Andre Lackmann <[email protected]> * Feature/docker compose update (openhab#5) * Moved Dockerfile into root * Dockerfile tidying * moving and updating docker-compose * updated docker configuration and docs Signed-off-by: Andre Lackmann <[email protected]> * Updated docker-compose to use official image tag Signed-off-by: Andre Lackmann <[email protected]> * updated logging to work in docker using console Signed-off-by: Andre Lackmann <[email protected]>
- Loading branch information
1 parent
d0186ec
commit 56c6c78
Showing
10 changed files
with
205 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"system": { | ||
"host": "localhost", | ||
"port": "443", | ||
"protocol": "https", | ||
"logger" : { | ||
"type": "console" | ||
}, | ||
"subDomainCookies": false | ||
}, | ||
"express":{ | ||
"key" : "<create a key here>" | ||
}, | ||
"apn" : { | ||
"gateway": "gateway.push.apple.com", | ||
"cert": "certs/aps/aps_production_cert.pem", | ||
"key": "certs/aps/aps_production_key.pem", | ||
"passphrase": "passphrase" | ||
}, | ||
"gcm" : { | ||
"jid": "[email protected]", | ||
"password": "password" | ||
}, | ||
"ifttt" : { | ||
"iftttChannelKey" : "key", | ||
"iftttTestToken" : "token" | ||
}, | ||
"mail": { | ||
"host" : "smtp", | ||
"port" : 465, | ||
"user" : "[email protected]", | ||
"pass" : "123_openHAB" | ||
}, | ||
"mongodb": { | ||
"hosts": ["mongodb"], | ||
"db": "openhab" | ||
}, | ||
"redis": { | ||
"host": "redis", | ||
"port": "6379", | ||
"password": "123_openHAB" | ||
}, | ||
"mailer": { | ||
"host" : "smtp.openhab.org", | ||
"port": 465, | ||
"secureConnection": true, | ||
"user": "[email protected]", | ||
"password": "123_openHAB", | ||
"from": "My openHAB <[email protected]>" | ||
}, | ||
"legal": { | ||
"terms" : "", | ||
"policy": "" | ||
}, | ||
"registration_enabled": false | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
debug = false | ||
|
||
logLevel = "ERROR" | ||
defaultEntryPoints = ["https","http"] | ||
|
||
[entryPoints] | ||
[entryPoints.http] | ||
address = ":80" | ||
[entryPoints.http.redirect] | ||
entryPoint = "https" | ||
[entryPoints.https] | ||
address = ":443" | ||
[entryPoints.https.tls] | ||
|
||
[retry] | ||
|
||
[api] | ||
|
||
[docker] | ||
endpoint = "unix:///var/run/docker.sock" | ||
domain = "yourdomain.com" | ||
watch = true | ||
exposedByDefault = false | ||
|
||
[acme] | ||
email = "[email protected]" | ||
storage = "acme.json" | ||
entryPoint = "https" | ||
onHostRule = true | ||
[acme.httpChallenge] | ||
entryPoint = "http" |
Oops, something went wrong.