Refactor Docker setup: consolidate Dockerfile stages, add entrypoint script, and update .gitignore and .dockerignore

This commit is contained in:
2025-08-25 07:38:08 +02:00
parent 945c686f15
commit 0b8c8a7c32
6 changed files with 64 additions and 42 deletions

14
compose.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
website:
build: .
container_name: gabrielkaszewski-website
restart: unless-stopped
ports:
- "80:5150"
volumes:
- ./database:/app/db
- ./uploads:/app/uploads
environment:
- JWT_SECRET=your_super_secret_production_jwt_key_here
- HOST=https://your-domain.com
- BINDING=0.0.0.0