-
Notifications
You must be signed in to change notification settings - Fork 1
/
dev.docker-compose.yml
146 lines (130 loc) · 2.76 KB
/
dev.docker-compose.yml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
version: '3.8'
services:
3dify:
build:
context: .
dockerfile: Dockerfile
ports:
- 3000:3000
develop:
watch:
- path: ./package.json
action: rebuild
- path: ./next.config.js
action: rebuild
- path: ./package-lock.json
action: rebuild
- path: next.config.js
action: rebuild
- path: ./app
action: rebuild
depends_on:
- filestore
- mongo
environment:
- MAKEHUMAN_IP = 10.5.0.5
- MAKEHUMAN_PORT = 12345
env_file:
- ./.env
networks:
- 3dify
filestore:
image: minio/minio
ports:
- '9000:9000'
- '9001:9001'
volumes:
- 'minio_data:/data'
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=minioadmin
- MINIO_API_CORS_ALLOW_ORIGIN='*'
networks:
- 3dify
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: mongoadmin
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
networks:
- 3dify
db-dashboard:
image: mongo-express
restart: always
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: admin
ME_CONFIG_MONGODB_ADMINPASSWORD: mongoadmin
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_BASICAUTH_ENABLED: 'true'
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: expressadmin
depends_on:
- mongo
networks:
- 3dify
python:
build:
context: ./pythonServices
dockerfile: Dockerfile
ports:
- 3001:80
develop:
watch:
- path: ./pythonServices
action: rebuild
environment:
- MAKEHUMAN_IP = 10.5.0.5
- MAKEHUMAN_PORT = 12345
networks:
- 3dify
makehuman:
build:
context: ./makehuman-docker
dockerfile: Dockerfile
ports:
- 12345:12345
develop:
watch:
- path: ./makehuman-docker
action: rebuild
# environment:
# - DISPLAY=${DISPLAY:-host.docker.internal:1}
# - QT_QPA_PLATFORM=xcb
volumes:
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '$HOME/.Xauthority:/root/.Xauthority'
networks:
3dify:
ipv4_address: 10.5.0.5
unity:
build:
context: ./unityClient
dockerfile: Dockerfile
ports:
- 8000:8000
develop:
watch:
- path: ./unityClient
action: rebuild
networks:
- 3dify
volumes:
minio_data:
driver: local
mongodb_data:
driver: local
networks:
3dify:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1