Complete sermon management system with Nuxt 4, authentication, SQLite database, QR codes, and Docker deployment
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
sermons:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
||||
- ADMIN_PASSWORD=admin123
|
||||
volumes:
|
||||
- sermon_data:/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
timeout: 10s
|
||||
|
||||
volumes:
|
||||
sermon_data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user