Set up initial frontend with Vite and integrated Docker for full-stack build

This commit is contained in:
alexandre grondin
2026-04-19 22:24:59 +02:00
commit ac63c4be99
37 changed files with 9796 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
version: "3.8"
services:
db:
image: postgres:16-alpine
container_name: budget-commun-db
restart: unless-stopped
environment:
POSTGRES_DB: budget
POSTGRES_USER: budget
POSTGRES_PASSWORD: budget
volumes:
- pgdata:/var/lib/postgresql/data
budget-commun:
build:
context: .
dockerfile: backend/Dockerfile
container_name: budget-commun
restart: unless-stopped
ports:
- "3456:3000"
depends_on:
- db
environment:
- NODE_ENV=production
- DATABASE_URL=postgres://budget:budget@db:5432/budget
volumes:
pgdata: