fix port
This commit is contained in:
@ -6,13 +6,13 @@ services:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "1307:80" # Map port 80 of the frontend container to port 3000 on localhost
|
||||
- "1307:80"
|
||||
depends_on:
|
||||
- backend # Ensure backend service is started before frontend
|
||||
- backend
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "1308:8080" # Map port 8080 of the backend container to port 8080 on localhost
|
||||
- "1308:8080"
|
||||
|
||||
@ -8,7 +8,7 @@ type Assignment = {
|
||||
events: string[];
|
||||
};
|
||||
|
||||
const backend = axios.create({ baseURL: "http://localhost:8080" });
|
||||
const backend = axios.create({ baseURL: "http://localhost:1307" });
|
||||
|
||||
const RelayForm: React.FC = () => {
|
||||
const [forms, setForms] = useState<{ [key: string]: React.ReactNode }>({});
|
||||
|
||||
Reference in New Issue
Block a user