fix: Docker fix for Monorepo

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-04-08 14:05:52 -07:00
parent 02097331d5
commit 30e38195a3
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ This document explains how to run the SurfSense project using Docker Compose.
1. Make sure you have all the necessary environment variables set up: 1. Make sure you have all the necessary environment variables set up:
- Copy `surfsense_backend/.env.example` to `surfsense_backend/.env` and fill in the required values - Copy `surfsense_backend/.env.example` to `surfsense_backend/.env` and fill in the required values
- Copy `surfsense_frontend/.env.example` to `surfsense_frontend/.env.local` and fill in the required values - Copy `surfsense_web/.env.example` to `surfsense_web/.env` and fill in the required values
2. Build and start the containers: 2. Build and start the containers:
```bash ```bash

View file

@ -3,12 +3,12 @@ version: '3.8'
services: services:
frontend: frontend:
build: build:
context: ./surfsense_frontend context: ./surfsense_web
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "3000:3000" - "3000:3000"
volumes: volumes:
- ./surfsense_frontend:/app - ./surfsense_web:/app
- /app/node_modules - /app/node_modules
depends_on: depends_on:
- backend - backend