-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.dev.yml
89 lines (82 loc) · 1.7 KB
/
docker-compose.dev.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
platform: linux/amd64
ports:
- '80:3000'
- '3030:3030'
- '3003:3003'
depends_on:
- mongo
- minio
environment:
HMR_PORT: 3003
PORT: 3000
ROOT_URL: http://localhost
VUE_DEV_SERVER_URL: http://localhost:3003
MONGO_URL: mongodb://mongo:27017/meteor
MAIL_URL: smtp://maildev:25
NODE_TLS_REJECT_UNAUTHORIZED: 0
volumes:
- ./:/latelier
- /latelier/.cache
- /latelier/.meteor/local
- /latelier/node_modules
- attachments:/attachments
networks:
- latelier-network
mongo:
image: mongo:latest
command:
- --storageEngine=wiredTiger
- --logpath=/dev/null
volumes:
- data:/data/db
networks:
- latelier-network
mongoexpress:
image: mongo-express
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ports:
- "8081:8081"
networks:
- latelier-network
maildev:
image: djfarrelly/maildev
ports:
- "1080:80"
- "1025:25"
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
volumes:
- minio-data:/data
command: ["server", "--console-address", ":9001", "/data"]
networks:
- latelier-network
minio_mc:
image: minio/mc:latest
depends_on:
- minio
entrypoint: >
/bin/sh -c "
sleep 5;
mc alias set minio http://minio:9000 minio minio123;
"
networks:
- latelier-network
networks:
latelier-network:
volumes:
data:
attachments:
minio-data: