-
-
Notifications
You must be signed in to change notification settings - Fork 161
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 #234…
…) (#276) * Feature/automate docker build (#4) * Moved Dockerfile into root * Dockerfile tidying Signed-off-by: Andre Lackmann <andre@lackmann.net> * Feature/docker compose update (#5) * Moved Dockerfile into root * Dockerfile tidying * moving and updating docker-compose * updated docker configuration and docs Signed-off-by: Andre Lackmann <andre@lackmann.net> * Updated docker-compose to use official image tag Signed-off-by: Andre Lackmann <andre@lackmann.net> * updated logging to work in docker using console Signed-off-by: Andre Lackmann <andre@lackmann.net>
- 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": "something@gcm.googleapis.com", | ||
"password": "password" | ||
}, | ||
"ifttt" : { | ||
"iftttChannelKey" : "key", | ||
"iftttTestToken" : "token" | ||
}, | ||
"mail": { | ||
"host" : "smtp", | ||
"port" : 465, | ||
"user" : "my@openhab.org", | ||
"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": "my@openhab.org", | ||
"password": "123_openHAB", | ||
"from": "My openHAB <my@openhab.org>" | ||
}, | ||
"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 = "your@email.com" | ||
storage = "acme.json" | ||
entryPoint = "https" | ||
onHostRule = true | ||
[acme.httpChallenge] | ||
entryPoint = "http" |
Oops, something went wrong.