-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.temp.yml
51 lines (48 loc) · 1.12 KB
/
docker-compose.temp.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
version: '2'
services:
mywell-console:
container_name: mywell-console
build: ./mywell-console/
image: mywell-console:local
ports:
- 3002:3000
volumes:
- ./mywell-console:/usr/src/app
- ./mywell-console/node_modules:/usr/src/app/node_modules
environment:
- REACT_APP_GRAPHQL_ENDPOINT
# command: tail -f /dev/null
mywell-gql:
container_name: mywell-gql
build: ./mywell-gql/
image: mywell-gql:local
ports:
- 3001:3001
volumes:
- ./mywell-gql/:/usr/src/app/
environment:
- PORT=3001
- DB_HOST
- DB_NAME
- DB_PASSWORD
- DB_USER
links:
- db:db
command: "npm run local"
mywell-utils:
container_name: mywell-utils
build: ./mywell-utils/
image: mywell-utils:local
command: tail -f /dev/null
db:
container_name: mywell-db
image: mariadb:10.0
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=mywell
- MYSQL_USER=mywell
- MYSQL_PASSWORD=password
expose:
- 3306
volumes:
- ./mywell-db/server/boot/db:/docker-entrypoint-initdb.d