Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
smartpublicbuilding
openhab-pb-stack
Commits
61f21849
Commit
61f21849
authored
Feb 13, 2019
by
Dobli
Browse files
removed X postfix in docker templates
parent
963ed803
Changes
2
Hide whitespace changes
Inline
Side-by-side
building_manager.py
View file @
61f21849
...
...
@@ -63,11 +63,11 @@ EDIT_FILES = {
}
CONSTRAINTS
=
{
"building"
:
"node.labels.building"
}
SERVICES
=
{
"sftp"
:
"sftp
_X
"
,
"openhab"
:
"openhab
_X
"
,
"nodered"
:
"nodered
_X
"
,
"postgres"
:
"postgres
_X
"
,
"mqtt"
:
"mqtt
_X
"
"sftp"
:
"sftp"
,
"openhab"
:
"openhab"
,
"nodered"
:
"nodered"
,
"postgres"
:
"postgres"
,
"mqtt"
:
"mqtt"
}
FRONTEND_SERVICES
=
{
"openhab"
:
"OpenHAB"
,
...
...
template_configs/docker-templates.yml
View file @
61f21849
...
...
@@ -7,8 +7,8 @@ networks:
attachable
:
true
configs
:
backup_config
_X
:
file
:
./volumerize/backup_config
_X
.json
backup_config
:
file
:
./volumerize/backup_config.json
sftp_config
:
file
:
./ssh/sshd_config
sftp_users
:
...
...
@@ -54,7 +54,7 @@ volumes:
backup_cache
:
services
:
backup
_X
:
backup
:
image
:
blacklabelops/volumerize
volumes
:
-
"
openhab_userdata:/source/openhab_userdata"
...
...
@@ -83,7 +83,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
sftp
_X
:
sftp
:
image
:
"
atmoz/sftp"
volumes
:
-
"
openhab_userdata:/home/ohadmin/openhab_userdata"
...
...
@@ -110,7 +110,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
openhab
_X
:
openhab
:
image
:
"
openhab/openhab:2.4.0-amd64-debian"
volumes
:
-
"
/etc/localtime:/etc/localtime:ro"
...
...
@@ -130,7 +130,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
nodered
_X
:
nodered
:
image
:
"
nodered/node-red-docker"
volumes
:
-
"
nodered_data:/data"
...
...
@@ -148,7 +148,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
mqtt
_X
:
mqtt
:
image
:
"
eclipse-mosquitto"
volumes
:
-
"
mosquitto_data:/mosquitto/data"
...
...
@@ -164,7 +164,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
db
_X
:
db
:
image
:
"
influxdb"
volumes
:
-
"
influxdb_data:/var/lib/influxdb"
...
...
@@ -187,7 +187,7 @@ services:
placement
:
constraints
:
-
node.labels.building == X
postgres
_X
:
postgres
:
image
:
"
postgres"
volumes
:
-
"
postgres_data:/var/lib/postgresql/data/pgdata"
...
...
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