fix: update docker-compose configuration and restore backend service

This commit is contained in:
2025-11-26 19:33:11 +01:00
parent 77111958a2
commit 3d6c9bfecd
2 changed files with 18 additions and 10 deletions

View File

@@ -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

View File

@@ -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";