-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 977 Bytes
/
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
version: '3.5'
services:
api_app:
image: wecooltra_api_app
container_name: wecooltra_api_app
env_file:
- api/.env
build:
context: api
dockerfile: Dockerfile
networks:
- wecooltra
ports:
- 9081:9081
- 3081:3081
restart: always
depends_on:
- api_nginx
api_nginx:
image: wecooltra_api_nginx
container_name: wecooltra_api_nginx
build:
context: api
dockerfile: Dockerfile.nginx
networks:
- wecooltra
ports:
- 8081:8081
restart: always
client_app:
image: wecooltra_client_app
container_name: wecooltra_client_app
build:
context: client
dockerfile: Dockerfile
volumes:
- './client:/usr/src/app'
- '/usr/src/app/node_modules'
networks:
- wecooltra
ports:
- 8080:3000
environment:
- NODE_ENV=development
restart: always
networks:
wecooltra:
name: wecooltra
driver: bridge