mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-09 15:52:40 +02:00
commit
91d2fdc761
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
Add a link
Reference in a new issue