-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 812 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (31 loc) · 812 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
# Use root/example as user/password credentials
version: '3.1'
services:
mongo:
image: mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${TAGGER_MONGO_USER}
MONGO_INITDB_ROOT_PASSWORD: ${TAGGER_MONGO_PASS}
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: ${TAGGER_MONGO_USER}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${TAGGER_MONGO_PASS}
tagger:
image: tagger
restart: always
ports:
- 8080:8080
volumes:
- ./documents:/server/documents
environment:
TAGGER_MONGO_USER: ${TAGGER_MONGO_USER}
TAGGER_MONGO_PASS: ${TAGGER_MONGO_PASS}
TAGGER_MONGO_HOST: "mongo"
TAGGER_MONGO_PORT: "27017"