-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (71 loc) · 1.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
74 lines (71 loc) · 1.63 KB
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
services:
nhstt-door-system-web:
build: ./web
ports:
- "3004:80"
restart: unless-stopped
networks:
- nhstt-door-system
environment:
DB_HOST: db
DB_NAME: door_dev
DB_USER: root
DB_PASS: example
LDAP_HOST: "ldaps://192.168.1.251"
LDAP_DN: "DC=techteam,DC=local"
MQTT_URL: "mqtt://mqtt:9001/mqtt" # 'mqtt' is from the host name below, because they are on the same docker network
node-red:
image: nodered/node-red:latest
environment:
- TZ=America/New_York
ports:
- "1880:1880"
networks:
- nhstt-door-system
volumes:
- ./nodered/data:/data
#This allows the container to talk to the Arduino for RFID and the USB relay
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
- "/dev/hidraw0:/dev/hidraw0"
#permission stuff b/c its locked down by default
group_add:
- "20" # replace with your dialout GID
privileged: true
mqtt:
image: eclipse-mosquitto:2
restart: unless-stopped
expose:
- "1883"
networks:
- nhstt-door-system
volumes:
- ./mqtt/config:/mosquitto/config
gui:
build: ./gui
networks:
- nhstt-door-system
environment:
DISPLAY: :0
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
stdin_open: true
tty: true
db:
image: mariadb
restart: always
networks:
- nhstt-door-system
environment:
MARIADB_ROOT_PASSWORD: example
volumes:
- ./database/data:/var/lib/mysql
adminer:
image: adminer
restart: always
networks:
- nhstt-door-system
ports:
- 8080:8080
networks:
nhstt-door-system: