-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
43 lines (40 loc) · 980 Bytes
/
docker-compose.dev.yml
File metadata and controls
43 lines (40 loc) · 980 Bytes
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
version: "3.3"
volumes:
database:
docs_node_modules:
server_node_modules:
client_node_modules:
services:
client:
container_name: tuttacatter_client_dev
build:
dockerfile: Dockerfile.dev
context: ./client
working_dir: /root/workspace
volumes:
- ./client:/root/workspace
- ./@types:/root/workspace/src/@types
- server_node_modules:/root/workspace/node_modules
tty: true
command: /bin/bash
ports:
- 8080:8080
server:
container_name: tuttacatter_server_dev
build:
dockerfile: Dockerfile.dev
context: ./server
working_dir: /root/workspace
volumes:
- ./server:/root/workspace
- ./@types:/root/workspace/src/@types
- client_node_modules:/root/workspace/node_modules
depends_on:
- database
tty: true
command: /bin/bash
database:
container_name: tuttacatter_database_dev
build:
dockerfile: Dockerfile
context: ./database