mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 18:36:23 +02:00
feat: SurfSense v0.0.6 init
This commit is contained in:
parent
18fc19e8d9
commit
da23012970
58 changed files with 8284 additions and 2076 deletions
|
|
@ -1,50 +0,0 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
# PostgreSQL Database
|
||||
db:
|
||||
image: postgres:13
|
||||
environment:
|
||||
POSTGRES_USER: your_postgres_user
|
||||
POSTGRES_PASSWORD: your_postgres_password
|
||||
POSTGRES_DB: surfsense_db
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- surfsense-network
|
||||
|
||||
# Backend Service (FastAPI)
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
depends_on:
|
||||
- db
|
||||
# privileged: true #when backend is pointing to the hostmaschine with localhost or 127.0.0.1 you need to add privileged: true else the container points at itself
|
||||
networks:
|
||||
- surfsense-network
|
||||
|
||||
# Frontend Service (Next.js)
|
||||
frontend:
|
||||
build:
|
||||
context: ./SurfSense-Frontend
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file:
|
||||
- ./SurfSense-Frontend/.env
|
||||
networks:
|
||||
- surfsense-network
|
||||
|
||||
# Volumes for persistent storage
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
# Docker network
|
||||
networks:
|
||||
surfsense-network:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue