-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
45 lines (40 loc) · 918 Bytes
/
docker-compose.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
version: '3.9'
services:
mongo_gridfs:
container_name: mongo_gridfs
image: mongo:latest
restart: on-failure
volumes:
- mongo-volume-upload-gridfs
mongo_dash_gridfs:
container_name: mongo_dash_girdfs
restart: on-failure
image: mongo-express
ports:
- "8005:8002"
environment:
- PORT=8002
- ME_CONFIG_OPTIONS_EDITORTHEME=ambiance
- ME_CONFIG_BASICAUTH_USERNAME=hossara
- ME_CONFIG_BASICAUTH_PASSWORD=1234
- ME_CONFIG_MONGODB_URL=mongodb://mongo_gridfs:27017
depends_on:
- mongo_gridfs
upload_gridfs:
container_name: upload_gridfs
restart: on-failure
ports:
- "8085:8085"
build: ./
volumes:
- ./:/app
depends_on:
- mongo_gridfs
- mongo_dash_gridfs
volumes:
mongo-volume-upload-gridfs:
external: true
networks:
upload_gridfs:
external: true
name: upload_gridfs