Skip to content

Commit ff93add

Browse files
author
Moritz Haslbeck
committed
Update Docker-Compose Konfiguration
1 parent 4dc6329 commit ff93add

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docker-compose.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
version: '3'
2-
31
services:
42
backend:
5-
build: ./backend
3+
build:
4+
context: https://github.com/Chase295/minesweeper.git#main:backend
65
container_name: minesweeper-backend
76
ports:
87
- "3001:3001"
98
restart: unless-stopped
9+
networks:
10+
- minesweeper-network
1011

1112
frontend:
12-
build: ./frontend
13+
build:
14+
context: https://github.com/Chase295/minesweeper.git#main:frontend
1315
container_name: minesweeper-frontend
1416
ports:
15-
- "80:80"
17+
- "8077:80"
1618
depends_on:
1719
- backend
18-
restart: unless-stopped
20+
restart: unless-stopped
21+
networks:
22+
- minesweeper-network
23+
24+
networks:
25+
minesweeper-network:
26+
driver: bridge

0 commit comments

Comments
 (0)