-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
42 lines (39 loc) · 876 Bytes
/
compose.yml
File metadata and controls
42 lines (39 loc) · 876 Bytes
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
services:
mqtt-to-mongo:
build: ./mqtt-to-mongo
container_name: mqtt-to-mongo
restart: unless-stopped
env_file:
- path: ./.env
required: true
depends_on:
- mongo
frontend:
container_name: frontend
env_file:
- path: ./.env
required: true
build:
context: ./meshtextviewer-frontend
dockerfile: Dockerfile
ports:
- 8844:3000
mongo:
image: mongo
container_name: mongo
restart: unless-stopped
volumes:
- ./mongodb-data:/data/db
expose:
- 27017
environment:
MONGO_INITDB_DATABASE: ${MONGO_DB}
mongo-express:
image: mongo-express
container_name: mongoexpress
restart: unless-stopped
ports:
- ${MONGO_EX_PORT}:8081
environment:
ME_CONFIG_MONGODB_URL: mongodb://mongo:27017/
ME_CONFIG_BASICAUTH_ENABLED: false