-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-file.yml
40 lines (38 loc) · 927 Bytes
/
test-file.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
# This file used for both developer and demo purposes.
# It contains environment
version: '3.2'
services:
mongo:
image: mongo:4.1.7
hostname: mongo
container_name: mongo-blog-store
restart: unless-stopped
ports:
- 27017:27017
volumes:
- mongo_blog_store_data_dir:/data/db
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "1"
minio:
image: minio/minio:RELEASE.2019-01-31T00-31-19Z
hostname: minio
container_name: minio-blog-store
restart: unless-stopped
ports:
- 9000:9000
environment:
- MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
- MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
volumes:
- ./minio-data:/data
command: ["server", "/data"]
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "1"
volumes:
mongo_blog_store_data_dir: