Skip to content

Commit ad9f6b3

Browse files
committed
fix: frontend uri
1 parent 3fc7eb2 commit ad9f6b3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
window.REACT_APP_DISK_API = "http://localhost:8080/disk-server/";

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
version: '3.9'
1+
version: "3.9"
22

33
services:
44
frontend:
5-
image: ikcap/disk_frontend_react
5+
image: ikcap/disk_frontend
66
ports:
77
- 8000:80
88
restart: on-failure:5
9+
volumes:
10+
- ./config.js:/usr/share/nginx/html/config.js
911
backend:
1012
image: ikcap/disk_backend
1113
ports:

0 commit comments

Comments
 (0)