mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-01 18:19:08 +00:00
fix: Docker fix for Monorepo
This commit is contained in:
parent
02097331d5
commit
30e38195a3
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
- 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:
|
||||
```bash
|
||||
|
|
|
@ -3,12 +3,12 @@ version: '3.8'
|
|||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: ./surfsense_frontend
|
||||
context: ./surfsense_web
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./surfsense_frontend:/app
|
||||
- ./surfsense_web:/app
|
||||
- /app/node_modules
|
||||
depends_on:
|
||||
- backend
|
||||
|
|
Loading…
Add table
Reference in a new issue