-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (58 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
60 lines (58 loc) · 1.21 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
version: '3'
volumes:
mysql:
services:
database:
image: mongo:4.0
environment:
- MONGO_INITDB_DATABASE=testing
ports:
- 27017:27017
volumes:
- ./data:/data/db
# mysql:
# image: mysql:5.7
# restart: always
# environment:
# MYSQL_ROOT_PASSWORD: prisma
# volumes:
# - mysql:/var/lib/mysql
# prisma:
# image: prismagraphql/prisma:1.20
# restart: always
# ports:
# - 4466:4466
# environment:
# PRISMA_CONFIG: |
# port: 4466
# # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# # managementApiSecret: my-secret
# databases:
# default:
# connector: mysql
# host: mysql
# port: 3306
# user: root
# password: prisma
# migrations: true
# rawAccess: true
flask:
build: flask
ports:
- 5000:5000
volumes:
- ./flask:/app
server:
build: server
ports:
- 4000:4000
- 9229:9229
volumes:
- ./server:/app
web:
build: web
ports:
- 3000:3000
- 9222:9222
volumes:
- ./web/src:/app/src