-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (36 loc) · 800 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (36 loc) · 800 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
version: '3.9'
services:
mongo_db:
container_name: db_container
image: mongo:latest
restart: always
volumes:
- mongo_db:/data/db
api:
image: chaithanya970/codeeditor:backend
container_name: codeeditor-backend
ports:
- 5001:5001
environment:
PORT: 5001
MONGODB: mongodb://mongo_db:27017
depends_on:
- mongo_db
volumes:
- ./access.log:/usr/src/app/access.log
code-runner:
image: chaithanya970/codeeditor:coderunner
container_name: codeeditor-coderunner
ports:
- 5005:5005
front_end:
image: chaithanya970/codeeditor:frontend
container_name: codeeditor-front_end
ports:
- 3000:3000
depends_on:
- mongo_db
- api
- code-runner
volumes:
mongo_db: {}