-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
90 lines (88 loc) · 2.27 KB
/
docker-compose.yml
File metadata and controls
90 lines (88 loc) · 2.27 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "3"
services:
api: # The web10 API, that holds all the data.
build: api
volumes:
- ./api/:/web10
ports:
- "6000:80"
environment:
- VIRTUAL_HOST=api.localhost
- INFISICAL
command: ["pipenv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
networks:
- all-spark-proxy
auth: # The web10 Authenticator, the UI for managing the web10 API
build:
context: .
dockerfile: auth/Dockerfile
target: dev
volumes:
- ./auth:/auth
- ./sdk:/auth/public/sdk
- node-modules:/auth/node_modules
- wapi-node-modules:/auth/public/sdk/node_modules
command: ["npm", "run", "start"]
environment:
PORT: 80
VIRTUAL_HOST: auth.localhost
CHOKIDAR_USEPOLLING: "true"
ports:
- '3000:80'
rtc: # web10 RTC, responsible for webRTC P2P connections on web10.
build: rtc
volumes:
- ./rtc:/rtc
- rtc:/rtc/node_modules
command: ["nodemon", "index.js"]
environment:
PORT: 80
VIRTUAL_HOST: rtc.localhost
CHOKIDAR_USEPOLLING: "true"
ports:
- '6363:80'
docs: # web10 docs, the web10 documentation on how to use it as a developer
build: sdk
volumes:
- ./sdk/:/docs/public
ports:
- "6969:80"
environment:
VIRTUAL_HOST: docs.localhost
home: # web10 home, the homepage that explains the mission + about web10.
build: home
volumes:
- ./home/:/home/public
ports:
- "6868:80"
environment:
VIRTUAL_HOST: home.localhost
mail: # web10 mail, a demo app on web10 to check webRTC + cross communication is working.
build:
context: .
dockerfile: mail/Dockerfile
volumes:
- ./mail/:/mail/public
- ./sdk/:/mail/public/sdk
ports:
- "7171:80"
environment:
VIRTUAL_HOST: mail.localhost
crm: # web10 CRM, a demo app on web10 to check core functionality / data management is working.
build:
context: .
dockerfile: crm/Dockerfile
volumes:
- ./crm/:/crm/public
- ./sdk/:/crm/public/sdk
ports:
- "7746:80"
environment:
VIRTUAL_HOST: crm.localhost
volumes:
node-modules:
wapi-node-modules:
rtc:
networks:
all-spark-proxy:
external: true