|
@@ -0,0 +1,25 @@
|
|
1
|
+version: '2'
|
|
2
|
+
|
|
3
|
+services:
|
|
4
|
+ openhab:
|
|
5
|
+ build: ./openhab
|
|
6
|
+ container_name: openhab-openhab
|
|
7
|
+ tty: true
|
|
8
|
+# restart: unless-stopped
|
|
9
|
+ networks:
|
|
10
|
+ openhab.internal.docker:
|
|
11
|
+ aliases:
|
|
12
|
+ - openhab.openhab.internal.docker
|
|
13
|
+ volumes:
|
|
14
|
+ - ./data/openhab/addons:/openhab/addons
|
|
15
|
+ - ./data/openhab/conf:/openhab/conf
|
|
16
|
+ - ./data/openhab/userdata:/openhab/userdata
|
|
17
|
+ ports:
|
|
18
|
+ - "127.0.0.1:35110:8080"
|
|
19
|
+ #devices:
|
|
20
|
+ # - "/dev/ttyACM0:/dev/ttyACM0"
|
|
21
|
+ env_file:
|
|
22
|
+ - env
|
|
23
|
+
|
|
24
|
+networks:
|
|
25
|
+ openhab.internal.docker:
|