-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 904 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (41 loc) · 904 Bytes
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
version: "3"
services:
db:
container_name: db
image: mongo:4
restart: unless-stopped
ports:
- 27017:27017
volumes:
- db:/data/db
app:
container_name: app
build:
context: .
dockerfile: server/Dockerfile
image: app
restart: unless-stopped
ports:
- "0.0.0.0:3000:3000"
env_file: ./server/src/.env
environment:
- MONGODB_CONNECTION=mongodb://db:27017/seqoio
volumes:
- ./server/src:/app/server/src
client:
container_name: client
build:
context: .
dockerfile: client/Dockerfile
image: client
restart: unless-stopped
ports:
- "0.0.0.0:3001:3001"
environment:
- PORT=3001
- REACT_APP_LOGGING_LEVEL=debug
- REACT_APP_SHAREDB_DEBUG=true
volumes:
- ./client/src:/app/client/src
volumes:
db: