-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yaml
76 lines (68 loc) · 1.3 KB
/
docker-compose.dev.yaml
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
---
version: '3.8'
services:
http:
image: zusoy/chatterer-http:develop
build:
context: apps/http
target: dev
ports:
- '80:80'
- '8081:8081'
volumes:
- ./apps/api/public/media:/usr/src/app/media
api:
image: zusoy/chatterer-api:develop
build:
context: apps/api
target: dev
env_file:
- .env
volumes:
- ./apps/api:/usr/src/app
client:
image: zusoy/chatterer-client:develop
command: 'npm run dev'
stdin_open: true
tty: true
build:
context: apps/client
target: dev
env_file:
- .env
ports:
- 3000:3000
volumes:
- ./apps/client:/usr/src/app
swagger:
image: zusoy/chatterer-swagger:develop
build:
context: apps/api
dockerfile: swagger.Dockerfile
environment:
URL: doc/api.yml
volumes:
- ./apps/api/doc:/usr/share/nginx/html/doc
database:
image: zusoy/chatterer-database:develop
build:
context: apps/database
env_file:
- .env
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- '3306:3306'
volumes:
- database:/var/lib/mysql
hub:
build:
context: apps/hub
env_file:
- .env
environment:
SERVER_NAME: ':80'
ports:
- '8080:80'
volumes:
database: ~