mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 02:29: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:
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue