forked from MichelFR/MqDockerUp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.docker-compose.dev.yaml
46 lines (42 loc) · 961 Bytes
/
.docker-compose.dev.yaml
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
version: "3.9"
services:
mqdockerup:
container_name: mqdockerup
build: ./
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./mqdockerup/data:/app/data
environment:
- MAIN_INTERVAL=5m
- MQTT_CONNECTIONURI=mqtt://emqx:1883
- ACCESSTOKENS_GITHUB=
depends_on:
- emqx
networks:
- custom_network
emqx:
container_name: emqx
image: emqx/emqx:latest
ports:
- "1883:1883"
- "18083:18083"
volumes:
- ./emqx/data:/opt/emqx/data
- ./emqx/etc:/opt/emqx/etc
- ./emqx/log:/opt/emqx/log
networks:
- custom_network
hello-world:
container_name: hello-world
image: "hello-world"
networks:
- custom_network
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ./config:/config
privileged: true
network_mode: host
networks:
custom_network: