forked from devlucasmarques/monster-shoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 1.03 KB
/
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.4"
services:
server-test:
container_name: monster-shoot-server-test
build:
context: ./server
dockerfile: ../Dockerfile.server
target: test
volumes:
- ./server:/app
networks:
- monster-shoot-networks
environment:
NODE_ENV: development
server-dev:
container_name: monster-shoot-server-dev
build:
context: ./server
dockerfile: ../Dockerfile.server
target: development
ports:
- 5000:5000
volumes:
- ./server:/app
networks:
- monster-shoot-networks
environment:
NODE_ENV: development
client-test:
container_name: monster-shoot-client-test
build:
context: ./client
dockerfile: ../Dockerfile.client
target: test
client-dev:
container_name: monster-shoot-client-dev
build:
context: ./client
dockerfile: ../Dockerfile.client
target: development
volumes:
- ./client:/app
ports:
- 3200:3000
networks:
monster-shoot-networks:
driver: bridge