Merge pull request #21 from MODSetter/dev

fix: Docker fix for Monorepo
This commit is contained in:
Rohan Verma 2025-04-08 14:06:37 -07:00 committed by GitHub
commit 91d2fdc761
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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