initial commit
Some checks failed
Build Images and Deploy / Update-PROD-Stack (push) Failing after 17s

This commit is contained in:
2026-01-28 23:52:15 -05:00
commit 787c97a52f
13 changed files with 290 additions and 0 deletions

42
docker-compose.yml Normal file
View File

@@ -0,0 +1,42 @@
version: '3.8'
services:
db:
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: whats_the_point
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
backend:
build: ./backend
restart: unless-stopped
environment:
PORT: 4000
JWT_SECRET: your_jwt_secret
DATABASE_URL: postgres://postgres:postgres@db:5432/whats_the_point
depends_on:
- db
ports:
- "4000:4000"
volumes:
- ./backend:/app
frontend:
build: ./frontend
restart: unless-stopped
environment:
VITE_API_URL: http://localhost:4000
depends_on:
- backend
ports:
- "5173:5173"
volumes:
- ./frontend:/app
volumes:
db_data: