cos tam dziala

This commit is contained in:
Patryk Koreń
2026-07-06 23:17:37 +02:00
parent e7ec832f5b
commit ff707dd762
26 changed files with 494 additions and 60 deletions

28
docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
services:
backend:
build: ./back
container_name: papryk-backend
expose:
- "3000"
environment:
- NODE_ENV=development
frontend:
build:
context: ./front
args:
VITE_API_URL: "http://localhost/api"
container_name: papryk-frontend
expose:
- "5173"
nginx:
image: nginx:alpine
container_name: papryk-nginx
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- frontend
- backend