-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 872 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
services:
mongodb:
container_name: mongodb
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: V7AVh7FWmUYTCWzY
MONGO_INITDB_ROOT_PASSWORD: dYiQeJyd9Wv9K4Pz
volumes:
- ./.mongod:/data/db
m3-server:
container_name: m3-server
image: m3-server
build:
context: .
dockerfile: next.Dockerfile
volumes:
- ./data:/app/data
- ./sandbox:/app/sandbox
restart: always
environment:
MONGOURI: mongodb://V7AVh7FWmUYTCWzY:dYiQeJyd9Wv9K4Pz@mongodb
depends_on:
- mongodb
ports:
- 0.0.0.0:3000:3000
m3-worker:
container_name: m3-worker
image: m3-worker
build:
context: .
dockerfile: worker.Dockerfile
environment:
TARGET_HOST: http://m3-server:3000
restart: always
depends_on:
- m3-server
- mongodb