Initial commit

This commit is contained in:
2026-09-03 12:21:17 +02:00
commit 6d40da0410
155 changed files with 21554 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# SoftSPM_2 - lokalne środowisko deweloperskie.
# Baza danych NIE jest kontenerem - łączymy się do istniejącej MariaDB
# w sieci LAN (10.42.1.210), zgodnie z podejściem database-first.
services:
app:
build:
context: .
dockerfile: docker/Dockerfile
container_name: softspm2-app
ports:
- "8000:80"
volumes:
- .:/var/www/html
environment:
APACHE_DOCUMENT_ROOT: /var/www/html/public
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
# Vite dev server (hot reload). Uruchamiać opcjonalnie:
# docker compose --profile dev up vite
vite:
build:
context: .
dockerfile: docker/Dockerfile
container_name: softspm2-vite
profiles: ["dev"]
ports:
- "5173:5173"
volumes:
- .:/var/www/html
command: npm run dev -- --host 0.0.0.0