-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 894 Bytes
/
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
version: '3.3'
services:
broker:
image: rabbitmq:3.7.14-management
restart: always
ports:
- 15672:15672
- 5672:5672
nodered:
image: faisalthaheem/open-lpr-nodered:main
restart: always
environment:
- PORT=1890
- BROKER_USERNAME=guest
- BROKER_PASSWORD=guest
ports:
- '1890:1890'
depends_on:
- broker
- mongodb
volumes:
- ./filestorage:/filestorage
- ./static-html-content:/static-html-content
mongodb:
image: mongo:4.1.11-bionic
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: lpr
MONGO_INITDB_ROOT_PASSWORD: lpr
MONGO_INITDB_DATABASE: openlpr
volumes:
- ./scripts/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
ports:
- 27017:27017
redis:
image: redis:6
restart: always
ports:
- 6379:6379