-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathm1.txt
49 lines (37 loc) · 857 Bytes
/
m1.txt
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
# Temporary Workaround for ARM based computers.
services:
# spin up react
frontend:
build: ./frontend
container_name: staysafe_front
platform: linux/amd64
ports:
- '3000:3000'
volumes:
- ./frontend:/usr/app
- /usr/app/node_modules
# spin up node
backend:
build: ./backend
container_name: staysafe_back
platform: linux/amd64
ports:
- '8080:8080'
volumes:
- ./backend:/usr/src
- /usr/src/node_modules
depends_on:
- mongodb
mongodb:
image: arm64v8/mongo:5.0
container_name: staysafe_mongo
platform: linux/arm64/v8
ports:
- '27017:27017'
volumes:
- mongodb_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: your_username
MONGO_INITDB_ROOT_PASSWORD: your_password
volumes:
mongodb_data: