|
@@ -0,0 +1,39 @@
|
|
1
|
+version: '2.0'
|
|
2
|
+services:
|
|
3
|
+ mysql:
|
|
4
|
+ image: mariadb:10.1
|
|
5
|
+ container_name: jeedom-mysql
|
|
6
|
+# restart: unless-stopped
|
|
7
|
+ environment:
|
|
8
|
+ - MYSQL_ROOT_PASSWORD=change_it
|
|
9
|
+ - MYSQL_USER=jeedom
|
|
10
|
+ - MYSQL_PASS=change_it
|
|
11
|
+ - MYSQL_DATABASE=jeedom
|
|
12
|
+ volumes:
|
|
13
|
+ - ./data/mysql/data:/var/lib/mysql
|
|
14
|
+ networks:
|
|
15
|
+ main:
|
|
16
|
+ aliases:
|
|
17
|
+ - mysql.main.internal.docker
|
|
18
|
+
|
|
19
|
+ jeedom:
|
|
20
|
+ image: jeedom/jeedom:latest
|
|
21
|
+ container_name: jeedom-jeedom
|
|
22
|
+# restart: unless-stopped
|
|
23
|
+ environment:
|
|
24
|
+ - ROOT_PASSWORD=change_it
|
|
25
|
+ - APACHE_PORT=9080
|
|
26
|
+ - SSH_PORT=9022
|
|
27
|
+ - MODE_HOST=1
|
|
28
|
+ ports:
|
|
29
|
+ - 127.0.0.1:35190:9080
|
|
30
|
+ - 127.0.0.1:35191:9022
|
|
31
|
+# devices:
|
|
32
|
+# - "/dev/ttyACM0:/dev/ttyACM0"
|
|
33
|
+ networks:
|
|
34
|
+ main:
|
|
35
|
+ aliases:
|
|
36
|
+ - jeedom.main.internal.docker
|
|
37
|
+
|
|
38
|
+networks:
|
|
39
|
+ main:
|