Skip to content

Commit fb50e60

Browse files
committed
added docker-compose file (little bug with fetching)
1 parent d0ae3f1 commit fb50e60

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

docker-compose.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
services:
22
frontend:
3-
image: node:18-alpine
4-
command: sh -c "npm install && npm run dev"
3+
build: frontend
4+
image: frontend-image
55
ports:
66
- 8080:8080
7-
working_dir: /geochess/frontend
87
# volumes:
98
# - ./:/frontend
9+
depends_on:
10+
- backend
11+
# network_mode: host
1012

1113
backend:
12-
image: node:18-alpine
13-
command: sh -c "npm install && npm run start"
14+
build: backend
15+
image: backend-image
1416
ports:
1517
- 8000:8000
16-
working_dir: /geochess/backend
17-
# volumes:
18-
# -
19-
18+
# expose:
19+
# - 8000
20+
# network_mode: host
2021

22+
# volumes:
23+
# -
2124
# volumes:
22-
# todo-mysql-data:
25+
# todo-mysql-data:

0 commit comments

Comments
 (0)