This commit is contained in:
2025-09-15 17:04:09 +02:00
parent ecce65db79
commit 3cbe01e458
21 changed files with 1568 additions and 92 deletions

30
docker-compose.yml Normal file
View File

@@ -0,0 +1,30 @@
version: '3.8'
services:
iitwelders-app:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=production
restart: unless-stopped
container_name: iitwelders-web
# Optional: Add nginx reverse proxy for production
nginx:
image: nginx:alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl:/etc/nginx/ssl:ro
depends_on:
- iitwelders-app
restart: unless-stopped
container_name: iitwelders-nginx
volumes:
node_modules: