initial version of the app

This commit is contained in:
mikicvi
2025-09-21 17:11:02 +01:00
commit c8062cf96b
101 changed files with 23061 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
version: '3.8'
services:
tt-booking:
build: .
ports:
- '3000:3000'
environment:
- NODE_ENV=production
- DATABASE_URL=/app/data/sqlite.db
- NEXTAUTH_URL=http://localhost:3000
- NEXTAUTH_SECRET=your-secret-key-here-make-this-very-long-and-random
- EMAIL_USER=your-email@gmail.com
- EMAIL_PASSWORD=your-app-password-here
- ADMIN_EMAIL=admin@example.com
- ADMIN_PASSWORD=admin123
volumes:
- ./data:/app/data
restart: unless-stopped
# Nginx reverse proxy (optional, for production deployment)
nginx:
image: nginx:alpine
ports:
- '80:80'
- '443:443'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl:/etc/nginx/ssl:ro
depends_on:
- tt-booking
restart: unless-stopped