-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 979 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
version: '3.7'
services:
# MongoDB database
mongo:
image: mongo
container_name: mongo
ports:
- 6972:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
MONGO_INITDB_DATABASE: squirrel
volumes:
- ./mongodb-setup.js:/docker-entrypoint-initdb.d/mongodb-setup.js:ro
# MongoDB web app
mongo-express:
image: mongo-express
container_name: mongo-express
ports:
- 9708:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root
# Storage
minio:
image: minio/minio:RELEASE.2021-08-05T22-01-19Z.fips
container_name: minio-storage
environment:
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
ports:
- '6971:9000'
- '34443:34443'
volumes:
- 'minio_data:/data'
command: server /data --console-address ":34443"
volumes:
minio_data:
driver: local