Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
smartpublicbuilding
openhab-pb-stack
Commits
72883e12
Commit
72883e12
authored
6 years ago
by
dobli
Browse files
Options
Download
Email Patches
Plain Diff
moved building pages to subdomains
parent
030b406e
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+7
-3
docker-compose.yml
with
7 additions
and
3 deletions
+7
-3
docker-compose.yml
+
7
-
3
View file @
72883e12
...
...
@@ -247,10 +247,11 @@ services:
-
habnet
deploy
:
labels
:
-
"
backup=b1"
-
"
traefik.docker.network=ohSwarmTest_habnet"
-
"
traefik.port=8181"
-
"
traefik.backend=openhab"
-
"
traefik.frontend.rule=Host
:ohmachine1
"
-
"
traefik.frontend.rule=Host
Regexp:bau1.{domain:[a-zA-z0-9-]+}
"
placement
:
constraints
:
-
node.labels.building == b1
...
...
@@ -269,10 +270,11 @@ services:
-
habnet
deploy
:
labels
:
-
"
backup=b2"
-
"
traefik.docker.network=ohSwarmTest_habnet"
-
"
traefik.port=8282"
-
"
traefik.backend=openhab2"
-
"
traefik.frontend.rule=Host
:ohmachine2
"
-
"
traefik.frontend.rule=Host
Regexp:bau2.{domain:[a-zA-z0-9-]+}
"
placement
:
constraints
:
-
node.labels.building == b2
...
...
@@ -291,10 +293,11 @@ services:
-
habnet
deploy
:
labels
:
-
"
backup=b3"
-
"
traefik.docker.network=ohSwarmTest_habnet"
-
"
traefik.port=8383"
-
"
traefik.backend=openhab3"
-
"
traefik.frontend.rule=Host
:ohmachine3
"
-
"
traefik.frontend.rule=Host
Regexp:bau3.{domain:[a-zA-z0-9-]+}
"
placement
:
constraints
:
-
node.labels.building == b3
...
...
@@ -311,6 +314,7 @@ services:
target
:
/data/settings.js
deploy
:
labels
:
-
"
backup=b1"
-
"
traefik.port=1880"
-
"
traefik.backend=nodered"
-
"
traefik.docker.network=ohSwarmTest_habnet"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets