-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
84 lines (78 loc) · 1.84 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
fhem:
restart: always
expose:
- "8083"
- "7072"
ports:
- "8083:8083"
- "7072:7072"
build: fhem
privileged: true
volumes:
- ./fhem/core/:/opt/fhem/
networks:
- fhem-network
depends_on:
- "mysql"
- "mqtt"
fhemExtended:
restart: always
build: fhemExtended
image: tif:fhemExtended
privileged: true
volumes:
- ./fhemExtended/core/:/opt/fhemExtended/
networks:
- fhem-network
depends_on:
- "fhem"
mysql:
restart: always
expose:
- "3306"
- "33060"
ports:
- "3306:3306"
- "33060:33060"
image: hypriot/rpi-mysql
volumes:
- ./mysql/init.sql:/docker-entrypoint-initdb.d/fhem-init.sql
- ./mysql/data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=KQW8JgZEDb4CpSMaz
- MYSQL_DATABASE=fhem
networks:
- fhem-network
mqtt:
restart: always
expose:
- "1883"
- "9001"
ports:
- "1883:1883"
- "9001:9001"
image: pascaldevink/rpi-mosquitto
networks:
- fhem-network
volumes:
- ./mqtt/config/:/mqtt/config/
- ./mqtt/log/:/mqtt/log/
- ./mqtt/data/:/mqtt/data/
alexa:
restart: always
expose:
- "3000"
ports:
- "3000:3000"
image: sbiermann/rpi-alexa-fhem
volumes:
- ./alexa/config:/config/
networks:
- fhem-network
depends_on:
- "fhem"
networks:
fhem-network:
driver: bridge