-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
81 lines (81 loc) · 2.07 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
version: '3'
services:
portainer:
container_name: portainer
image: portainer/portainer-ce:latest
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /home/pi/containers/portainer:/data
ports:
- 9000:9000
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: unless-stopped
ports:
- '53:53/tcp'
- '53:53/udp'
- '80:80/tcp'
environment:
TZ: 'Europe/Berlin'
WEBPASSWORD: ''
volumes:
- '/home/pi/containers/pi-hole/etc-pihole/:/etc/pihole/'
- '/home/pi/containers/pi-hole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
dns:
- 127.0.0.1
- 1.1.1.1
deconz:
container_name: deconz
image: deconzcommunity/deconz
restart: unless-stopped
ports:
- 4526:80
- 443:443
volumes:
- '/etc/localtime:/etc/localtime:ro'
- '/home/pi/containers/deconz/:/opt/deCONZ'
devices:
- /dev/ttyACM0:/dev/ttyACM0
mariadb:
container_name: mariadb
image: jsurf/rpi-mariadb:latest
restart: unless-stopped
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD
volumes:
- '/home/pi/containers/mariadb/:/var/lib/mysql'
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
restart: unless-stopped
volumes:
- /home/pi/containers/home-assistant/:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
privileged: true
network_mode: host
evcc:
command:
- evcc
container_name: evcc
image: evcc/evcc:latest
restart: unless-stopped
ports:
- 7070:7070/tcp
- 8887:8887/tcp
- 7090:7090/udp
- 9522:9522/udp
volumes:
- /home/pi/containers/evcc/evcc.yaml:/etc/evcc.yaml
- /home/pi/containers/evcc/.evcc:/root/.evcc
- /etc/machine-id:/etc/machine-id
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id