-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.02 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.7"
services:
email:
image: collabcode/training-email
container_name: "email"
networks:
- internal
auth:
image: collabcode/training-auth
container_name: "auth"
environment:
- NODE_ENV
ports:
- "3001:3001"
networks:
- internal
depends_on:
- mongo
mongo:
image: mongo
container_name: "mongo"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- "27017:27017"
networks:
- internal
frontend:
image: "cypress/included:4.3.0"
container_name: "frontend"
ipc: host
environment:
- NODE_ENV=local
- QT_X11_NO_MITSHM=1
- _X11_NO_MITSHM=1
- _MITSHM=0
- ELECTRON_ENABLE_STACK_DUMPING=1
ports:
- "3000:${PORT}"
expose:
- "3000"
working_dir: /app
networks:
- internal
volumes:
- .:/app/
entrypoint: npm start
depends_on:
- auth
- email
networks:
internal:
driver: bridge