Commit 61f21849 authored by Dobli's avatar Dobli
Browse files

removed X postfix in docker templates

parent 963ed803
...@@ -63,11 +63,11 @@ EDIT_FILES = { ...@@ -63,11 +63,11 @@ EDIT_FILES = {
} }
CONSTRAINTS = {"building": "node.labels.building"} CONSTRAINTS = {"building": "node.labels.building"}
SERVICES = { SERVICES = {
"sftp": "sftp_X", "sftp": "sftp",
"openhab": "openhab_X", "openhab": "openhab",
"nodered": "nodered_X", "nodered": "nodered",
"postgres": "postgres_X", "postgres": "postgres",
"mqtt": "mqtt_X" "mqtt": "mqtt"
} }
FRONTEND_SERVICES = { FRONTEND_SERVICES = {
"openhab": "OpenHAB", "openhab": "OpenHAB",
......
...@@ -7,8 +7,8 @@ networks: ...@@ -7,8 +7,8 @@ networks:
attachable: true attachable: true
configs: configs:
backup_config_X: backup_config:
file: ./volumerize/backup_config_X.json file: ./volumerize/backup_config.json
sftp_config: sftp_config:
file: ./ssh/sshd_config file: ./ssh/sshd_config
sftp_users: sftp_users:
...@@ -54,7 +54,7 @@ volumes: ...@@ -54,7 +54,7 @@ volumes:
backup_cache: backup_cache:
services: services:
backup_X: backup:
image: blacklabelops/volumerize image: blacklabelops/volumerize
volumes: volumes:
- "openhab_userdata:/source/openhab_userdata" - "openhab_userdata:/source/openhab_userdata"
...@@ -83,7 +83,7 @@ services: ...@@ -83,7 +83,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
sftp_X: sftp:
image: "atmoz/sftp" image: "atmoz/sftp"
volumes: volumes:
- "openhab_userdata:/home/ohadmin/openhab_userdata" - "openhab_userdata:/home/ohadmin/openhab_userdata"
...@@ -110,7 +110,7 @@ services: ...@@ -110,7 +110,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
openhab_X: openhab:
image: "openhab/openhab:2.4.0-amd64-debian" image: "openhab/openhab:2.4.0-amd64-debian"
volumes: volumes:
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
...@@ -130,7 +130,7 @@ services: ...@@ -130,7 +130,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
nodered_X: nodered:
image: "nodered/node-red-docker" image: "nodered/node-red-docker"
volumes: volumes:
- "nodered_data:/data" - "nodered_data:/data"
...@@ -148,7 +148,7 @@ services: ...@@ -148,7 +148,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
mqtt_X: mqtt:
image: "eclipse-mosquitto" image: "eclipse-mosquitto"
volumes: volumes:
- "mosquitto_data:/mosquitto/data" - "mosquitto_data:/mosquitto/data"
...@@ -164,7 +164,7 @@ services: ...@@ -164,7 +164,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
db_X: db:
image: "influxdb" image: "influxdb"
volumes: volumes:
- "influxdb_data:/var/lib/influxdb" - "influxdb_data:/var/lib/influxdb"
...@@ -187,7 +187,7 @@ services: ...@@ -187,7 +187,7 @@ services:
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
postgres_X: postgres:
image: "postgres" image: "postgres"
volumes: volumes:
- "postgres_data:/var/lib/postgresql/data/pgdata" - "postgres_data:/var/lib/postgresql/data/pgdata"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment