fix: update docker-compose configuration and restore backend service
This commit is contained in:
@@ -2,14 +2,23 @@ services:
|
|||||||
frontend:
|
frontend:
|
||||||
container_name: weather-frontend
|
container_name: weather-frontend
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
|
networks:
|
||||||
|
- proxynet
|
||||||
ports:
|
ports:
|
||||||
- "7002:80"
|
- "7002:80"
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
# backend:
|
|
||||||
# container_name: backend
|
backend:
|
||||||
# build: ./backend
|
container_name: backend
|
||||||
# ports:
|
build: ./backend
|
||||||
# - "7001:7001"
|
networks:
|
||||||
#volumes:
|
- proxynet
|
||||||
# - ./backend:/bikelane-backend
|
ports:
|
||||||
# restart: unless-stopped
|
- "7001:7001"
|
||||||
|
volumes:
|
||||||
|
- ./backend:/bikelane-backend
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxynet:
|
||||||
|
external: true
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import ChangeAPI from "./ChangeAPI";
|
import ChangeAPI from "./ChangeAPI";
|
||||||
import ChangePreferences from "./ChangePreferences";
|
import ChangePreferences from "./ChangePreferences";
|
||||||
import { myToast } from "../utils/toastify";
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import Cookies from "js-cookie";
|
import Cookies from "js-cookie";
|
||||||
import logo from "../assets/cloud-sun-fill.png";
|
import logo from "../assets/cloud-sun-fill.png";
|
||||||
|
|||||||
Reference in New Issue
Block a user